IVsDebugLaunch.DebugLaunch Method
Launches the debugger.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Déclaration
Function DebugLaunch ( _
grfLaunch As UInteger _
) As Integer
'Utilisation
Dim instance As IVsDebugLaunch
Dim grfLaunch As UInteger
Dim returnValue As Integer
returnValue = instance.DebugLaunch(grfLaunch)
int DebugLaunch(
uint grfLaunch
)
int DebugLaunch(
[InAttribute] unsigned int grfLaunch
)
function DebugLaunch(
grfLaunch : uint
) : int
Parameters
grfLaunch
Type: System.UInt32[in] Bit flags, representing launch options, formed using values from the __VSDBGLAUNCHFLAGS enumeration.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsDebugLaunch::DebugLaunch(
[in] VSDBGLAUNCHFLAGS grfLaunch
);
Permissions
- 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.