ICorProfilerInfo3::GetAppDomainsContainingModule Method

Gets the identifiers of the application domains in which the given module has been loaded.

Syntax

HRESULT GetAppDomainsContainingModule(  
            [in] ModuleID moduleId,  
            [in] ULONG32 cAppDomainIds,  
            [out] ULONG32 *pcAppDomainIds,  
            [out, size_is(cAppDomainIds), length_is(*pcAppDomainIds)]  
                    AppDomainID appDomainIds[]);  

Parameters

moduleId
[in] The ID of the loaded module.

cAppDomainIds
[in] The size of the appDomainIds array.

pcAppDomainIds
[out] A pointer to the total number of returned elements.

appDomainIds
[out] An array of application domain ID values.

Remarks

The method uses caller allocated buffers.

Requirements

Platforms: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4

See also