Редагувати

Поділитися через


ICorDebugAppDomain::GetObject Method

Gets an interface pointer to the common language runtime (CLR) application domain.

Syntax

HRESULT GetObject (
    [out] ICorDebugValue   **ppObject
);

Parameters

ppObject [out] A pointer to the address of an ICorDebugValue interface object that represents the CLR application domain.

Return Value

If a managed System.AppDomain object hasn't been constructed for this application domain, the method returns S_FALSE and places NULL in *ppObject.

Remarks

Each application domain in a process may have a managed System.AppDomain object in the runtime that represents it. This function gets an ICorDebugValue interface object that corresponds to this managed System.AppDomain object.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4.5