ICorDebugAppDomain3 接口

提供用于检索有关当前加载在应用程序域中的 Windows 运行时类型的托管表示形式的信息的方法。 此接口是 ICorDebugAppDomain 和 ICorDebugAppDomain2 接口的扩展。

Methods

方法 Description
ICorDebugAppDomain3::GetCachedWinRTTypes 获取所有缓存的 Windows 运行时类型的枚举器。
ICorDebugAppDomain3::GetCachedWinRTTypesForIIDs 根据应用程序的接口标识符获取应用程序域中缓存的 Windows 运行时类型的枚举器。

注解

此接口旨在由调试器与函数计算调用 M:System.Runtime.InteropServices.Marshal.GetInspectableIIDs(System.Object)结合使用。 当该方法检索 Windows 运行时服务器对象支持的接口标识符时,调试器可以使用此接口中定义的方法将它们映射到与这些接口对应的托管类型。

若要检索此接口的实例,请在 QueryInterface ICorDebugAppDomain 或 ICorDebugAppDomain2 接口的实例上运行。

注释

此接口不支持远程调用,无论是跨计算机还是跨进程。

要求

平台: Windows 运行时

页眉: CorDebug.idl、CorDebug.h

图书馆: CorGuids.lib

.NET 版本: 自 .NET Framework 4.5 起可用