共用方式為


ICorProfilerThreadEnum::GetCount 方法

取得應用程式所使用的執行緒數目。

語法

HRESULT GetCount (    [out] ULONG * pcelt  
);  

參數

celt
[out] 應用程式所使用的執行緒數目。

規格需求

平台:請參閱系統需求

標頭: CorProf.idl、CorProf.h

程式庫:CorGuids.lib

.NET Framework版本:自 4.5 起可用

另請參閱