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
- serviceProvider
Type: System.IServiceProvider
IServiceProvider.
- info
Type: Microsoft.VisualStudio.Shell.Interop.VsDebugTargetInfo
A VsDebugTargetInfo structure.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.