ICorDebugAssembly::GetAppDomain Method

Gets an interface pointer to the application domain that contains this ICorDebugAssembly instance.

Syntax

HRESULT GetAppDomain (
    [out] ICorDebugAppDomain  **ppAppDomain
);

Parameters

ppAppDomain [out] A pointer to the address of an ICorDebugAppDomain interface that represents the application domain.

Remarks

If this assembly is the system assembly, GetAppDomain returns null.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0