检查调试引擎的兼容性与其他调试引擎。
命名空间: Microsoft.VisualStudio.Shell.Interop
程序集: Microsoft.VisualStudio.Shell.Interop.8.0(在 Microsoft.VisualStudio.Shell.Interop.8.0.dll 中)
语法
声明
Function IsEngineCompatible ( _
ByRef guidEngine As Guid, _
EngineCount As UInteger, _
pEngineGUIDs As Guid() _
) As Integer
int IsEngineCompatible(
ref Guid guidEngine,
uint EngineCount,
Guid[] pEngineGUIDs
)
参数
- guidEngine
类型:System.Guid%
[in] 是为了测试引擎的 GUID。
- EngineCount
类型:System.UInt32
[in] GUID 的数字数组中 pEngineGUIDs的。
- pEngineGUIDs
类型:array<System.Guid[]
[in] 数组调试引擎 GUID。
返回值
类型:System.Int32
返回 S_OK ,如果调试引擎 (guidEngine) 与所有在 pEngineGUIDs的引擎兼容,。否则,此方法返回 S_FALSE。
备注
COM 签名
从 vsshell80.idl:
HRESULT IVsDebugger2::IsEngineCompatible(
[in] REFGUID guidEngine,
[in] ULONG EngineCount,
[in, size_is(EngineCount)] GUID * pEngineGUIDs
);
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。