Compartilhar via


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: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Version: 2.0

See Also

Concepts

ICLRTaskManager Interface