共用方式為


VsShellUtilities.LaunchDebugger Method

Starts the debugger.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'宣告
Public Shared Sub LaunchDebugger ( _
    serviceProvider As IServiceProvider, _
    info As VsDebugTargetInfo _
)
'用途
Dim serviceProvider As IServiceProvider
Dim info As VsDebugTargetInfo

VsShellUtilities.LaunchDebugger(serviceProvider, _
    info)
public static void LaunchDebugger(
    IServiceProvider serviceProvider,
    VsDebugTargetInfo info
)
public:
static void LaunchDebugger(
    IServiceProvider^ serviceProvider, 
    VsDebugTargetInfo info
)
static member LaunchDebugger : 
        serviceProvider:IServiceProvider * 
        info:VsDebugTargetInfo -> unit 
public static function LaunchDebugger(
    serviceProvider : IServiceProvider, 
    info : VsDebugTargetInfo
)

Parameters

.NET Framework Security

See Also

Reference

VsShellUtilities Class

VsShellUtilities Members

Microsoft.VisualStudio.Shell Namespace