Muokkaa

Jaa


IXCLRDataProcess::GetAppDomainByUniqueId Method

Gets an AppDomain in a process based on its unique identifier.

Note

This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug and ICorProfiler APIs when possible.

Syntax

HRESULT GetAppDomainByUniqueID(
    [in] ULONG64               id,
    [out] IXCLRDataAppDomain **appDomain
);

Parameters

id
[in] The unique identifier of the AppDomain

appDomain
[out] The AppDomain

Remarks

The provided method is part of the IXCLRDataProcess interface and corresponds to the 20th slot of the virtual method table. The IXCLRDataAppDomain* returned is used for interaction with other APIs.

Requirements

Platforms: See System Requirements. Header: None Library: None .NET Framework Versions: Available since 4.7

See also