Share via


DkmClrModuleInstance.GetCorObject Method

Definition

Provides direct access to the ICorDebugModule object, which expression evaluators or other components can use to inspect the app domain.

The returned interface may ONLY be used to inspect the target process, and should NEVER be used to control execution (no stepping, no breakpoints, no continue, etc). Doing so is unsupported and will result in undefined behavior.

Location constraint: API must be called from a Monitor component (component level < 100,000).

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

Returns

[Out] ICorDebug interface representing an app domain inspection.

Applies to