Monitor.LockContentionCount Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the number of times there was contention when trying to take the monitor's lock.
public:
static property long LockContentionCount { long get(); };
public static long LockContentionCount { get; }
static member LockContentionCount : int64
Public Shared ReadOnly Property LockContentionCount As Long
Property Value
The number of times there was contention when trying to take the monitor's lock.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.