Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Defines an object that is blocking a thread and the specific reason that the thread is blocked.
Syntax
Typedef struct CorDebugBlockingObject
{
ICorDebugValue pBlockingObject;
DWORD dwTimeout;
CorDebugBlockingReason blockingReason;
} CorDebugBlockingObject;
Members
| Member | Description |
|---|---|
pBlockingObject |
The object on which the thread is blocking. This object is valid only for the duration of the current synchronized state. If two threads are blocking on the same object within the same synchronized state, you may expect the ICorDebugValue::GetAddress method to return the same value. However, the interfaces may or may not be pointer equivalent. |
dwTimeout |
The number of milliseconds before the blocking operation will time out, or the value INFINITE, which indicates that it will not time out. The time-out value specifies the total length of time for the blocking operation, not the time that is still remaining. |
blockingReason |
The reason that the thread is blocked on this object. |
Remarks
Requirements
Platforms: See .NET supported operating systems.
Header: CorDebug.idl
Library: CorGuids.lib
.NET versions: Available since .NET Framework 4.0
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.