SemaphoreSlim.CurrentCount Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the number of threads that will be allowed to enter the SemaphoreSlim.

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)


Public ReadOnly Property CurrentCount As Integer
public int CurrentCount { get; }

Property Value

Type: System..::.Int32
The current count of the SemaphoreSlim.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also


SemaphoreSlim Class

System.Threading Namespace