Freigeben über


ICorProfilerInfo2::GetThreadAppDomain Method

Gets the ID of the application domain in which the specified thread is currently executing code.

HRESULT GetThreadAppDomain(
    [in] ThreadID threadId,
    [out] AppDomainID *pAppDomainId);

Parameters

Parameter Description

threadId

[in] The ID specifying the thread.

pAppDomainId

[out] A pointer to the ID of 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
ICorProfilerInfo2 Interface