Udostępnij za pośrednictwem


ICLRTaskManager::GetCurrentTaskType Method

Gets the type of the task that is currently executing.

HRESULT GetCurrentTaskType(
    [out] ETaskType *pTaskType
);

Parameters

  • pTaskType
    [out] A pointer to a value of the ETaskType enumeration that indicates the type of task that is currently executing.

Requirements

Platforms: See .NET Framework System Requirements.

Header: MSCorEE.h

Library: Included as a resource in MSCorEE.dll

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

See Also

Reference

ICLRTaskManager Interface