将 QueryDebugLaunch 方法路由到扩展,以便可以对其进行处理。
命名空间: Microsoft.VisualStudio.Data.Schema.Package.Project
程序集: Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
语法
声明
Function QueryDebugLaunch ( _
config As IDatabaseProjectConfiguration, _
launchOptions As UInteger, _
<OutAttribute> ByRef canLaunch As Integer _
) As Integer
int QueryDebugLaunch(
IDatabaseProjectConfiguration config,
uint launchOptions,
out int canLaunch
)
int QueryDebugLaunch(
IDatabaseProjectConfiguration^ config,
unsigned int launchOptions,
[OutAttribute] int% canLaunch
)
abstract QueryDebugLaunch :
config:IDatabaseProjectConfiguration *
launchOptions:uint32 *
canLaunch:int byref -> int
function QueryDebugLaunch(
config : IDatabaseProjectConfiguration,
launchOptions : uint,
canLaunch : int
) : int
参数
- launchOptions
类型:System.UInt32
指定如何启动调试器。有关更多信息,请参见 __VSDBGLAUNCHFLAGS。
- canLaunch
类型:System.Int32%
查询是否可以启动调试操作。
返回值
类型:System.Int32
HRESULT。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。