Determines whether the debugger can be launched, given the state of the launch flags.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
- Type: System.UInt32
[in] Flags that determine the conditions under which to launch the debugger. For valid grfLaunch values, see __VSDBGLAUNCHFLAGS.
- Type: System.Int32
[out] Pointer to a flag that is set to true if the debugger can be launched and false otherwise.
HRESULT IVsDebuggableProjectCfg::QueryDebugLaunch( [in] VSDBGLAUNCHFLAGS grfLaunch, [out] BOOL *pfCanLaunch );
This method determines whether or not the debugger can be launched and the Launch menu item enabled. When QueryDebugLaunch sets pfCanLaunch to true and the user selects the Launch menu item, the project calls DebugLaunch with the same set of flags that were used to call QueryDebugLaunch.
- 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.