Windows apps
Collapse the table of content
Expand the table of content
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.

Semaphore.Release Method

Exits the semaphore.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Public method Release() Exits the semaphore and returns the previous count.
Public method Release(Int32) Exits the semaphore a specified number of times and returns the previous count.
© 2018 Microsoft