Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 int CurrentCount { get; }

Property Value

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

Windows Phone OS

Supported in: 8.1, 8.0

Show: