VsShellUtilities.LaunchDebugger Method
Starts the debugger.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Public Shared Sub LaunchDebugger ( _
serviceProvider As IServiceProvider, _
info As VsDebugTargetInfo _
)
public static void LaunchDebugger(
IServiceProvider serviceProvider,
VsDebugTargetInfo info
)
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.