Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Monitor.LockContentionCount Property
Definition
- Namespace:
- System.Threading
- Assemblies:
- netstandard.dll, System.Threading.dll
- Assembly:
- System.Threading.dll
- Source:
- Monitor.CoreCLR.cs
- Source:
- Monitor.cs
- Source:
- Monitor.CoreCLR.cs
- Source:
- Monitor.CoreCLR.cs
- Source:
- Monitor.CoreCLR.cs
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
Was this page helpful?
