Uredi

Deli z drugimi prek


Monitor.LockContentionCount Property

Definition

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