Читати англійською Редагувати

Поділитися через


Monitor.LockContentionCount Property

Definition

Gets the number of times there was contention when trying to take the monitor's lock.

C#
public static long LockContentionCount { get; }

Property Value

The number of times there was contention when trying to take the monitor's lock.

Applies to

Продукт Версії
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10