Share via


IVsDebuggableProjectCfg2.QueryDebugLaunch Method

Determines whether the debugger can be launched, given the state of the launch flags. Inherited from IVsDebuggableProjectCfg.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function QueryDebugLaunch ( _
    grfLaunch As UInteger, _
    <OutAttribute> ByRef pfCanLaunch As Integer _
) As Integer
int QueryDebugLaunch(
    uint grfLaunch,
    out int pfCanLaunch
)
int QueryDebugLaunch(
    [InAttribute] unsigned int grfLaunch, 
    [OutAttribute] int% pfCanLaunch
)
abstract QueryDebugLaunch : 
        grfLaunch:uint32 * 
        pfCanLaunch:int byref -> int
function QueryDebugLaunch(
    grfLaunch : uint, 
    pfCanLaunch : int
) : int

Parameters

  • grfLaunch
    Type: UInt32

     [in] Flags that determine the conditions under which to launch the debugger. For valid grfLaunch values, see __VSDBGLAUNCHFLAGS.

  • pfCanLaunch
    Type: Int32%

     [out] Pointer to a flag that is set to true if the debugger can be launched and false otherwise.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsDebuggableProjectCfg2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace