DkmClrAppDomain.GetCorObject 方法

定义

提供对 ICorDebugAppDomain 对象的直接访问,表达式计算器或其他组件可以使用此对象检查应用程序域。

返回的接口只能用于检查目标进程,绝不能用于控制执行 (无单步执行、无断点、不继续等) 。 此操作不受支持,将导致未定义的行为。

位置约束:必须从监视器组件 (组件级别 100000) 中调用 API < 。

public:
 Microsoft::VisualStudio::CorDebugInterop::ICorDebugAppDomain ^ GetCorObject();
public:
 Microsoft::VisualStudio::CorDebugInterop::ICorDebugAppDomain ^ GetCorObject();
Microsoft::VisualStudio::CorDebugInterop::ICorDebugAppDomain GetCorObject();
public Microsoft.VisualStudio.CorDebugInterop.ICorDebugAppDomain GetCorObject ();
member this.GetCorObject : unit -> Microsoft.VisualStudio.CorDebugInterop.ICorDebugAppDomain
Public Function GetCorObject () As ICorDebugAppDomain

返回

ICorDebugAppDomain

弄表示应用域检查的 ICorDebug 接口。

适用于