Exits the semaphore, returning the previous count.
Namespace: RTX.ThreadingAssembly: IntervalZero.RTX (in IntervalZero.RTX.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
Parameters
- releaseCount
- Type:
System Int32
releaseCount: The number of times to exit the semaphore.
Return Value
Type:
An integer value representing the count on the semaphore before the Overload:Semaphore.Release method was called.
Exceptions
Exception | Condition |
---|---|
![]() | releaseCount is less than 1. |
See Also