Export (0) Print
Expand All
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.Release Method

July 28, 2014

Exits the SemaphoreSlim once.

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

'Declaration
Public Function Release As Integer

Return Value

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

ExceptionCondition
ObjectDisposedException

The current instance has already been disposed.

SemaphoreFullException

The SemaphoreSlim has already reached its maximum size.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2014 Microsoft