Export (0) Print
Expand All

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);

threadId

[in] The ID specifying the thread.

pAppDomainId

[out] A pointer to the ID of the application domain.

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

Show:
© 2014 Microsoft