다음을 통해 공유


IVsDebugLaunch.QueryDebugLaunch Method

Tests whether you can launch the debugger with the specified options.

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

Syntax

‘선언
Function QueryDebugLaunch ( _
    grfLaunch As UInteger, _
    <OutAttribute> ByRef pfCanLaunch As Integer _
) As Integer
‘사용 방법
Dim instance As IVsDebugLaunch
Dim grfLaunch As UInteger
Dim pfCanLaunch As Integer
Dim returnValue As Integer

returnValue = instance.QueryDebugLaunch(grfLaunch, _
    pfCanLaunch)
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

  • pfCanLaunch
    Type: System.Int32%
    [out] Boolean. Set to true if you can launch the debugger.

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::QueryDebugLaunch(
   [in] VSDBGLAUNCHFLAGS grfLaunch, 
   [out] BOOL *pfCanLaunch
);

.NET Framework Security

See Also

Reference

IVsDebugLaunch Interface

IVsDebugLaunch Members

Microsoft.VisualStudio.Shell.Interop Namespace