次の方法で共有


ICorProfilerInfo::GetAppDomainInfo Method

Gets information about the specified application domain.

HRESULT GetAppDomainInfo(
    [in]  AppDomainID appDomainId,
    [in]  ULONG       cchName,
    [out] ULONG       *pcchName,
    [out, size_is(cchName), length_is(*pcchName)]
          WCHAR       szName[] ,
    [out] ProcessID   *pProcessId);

Parameters

Parameter Description

appDomainId

[in] Identifies the application domain.

cchName

[in] The length, in characters, of the caller-provided buffer for the name of the application domain.

pcchName

[out] The length, in characters, of the name of the application domain.

szName

[out] The name of the application domain.

pProcessId

[out] The ID of the process that contains the application domain.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICorProfilerInfo Interface