Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Retrieves the number of locks that current thread holds.
This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Syntax
HRESULT LocksHeldByLogicalThread(
[out] DWORD *pCount
);
Parameters
pCount
[out] A pointer to the number of locks that the current thread holds.
Requirements
Platforms: See System Requirements.
Header: MSCorEE.h
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: 1.0, 1.1