System.Threading.Semaphore: Method Members

The methods of System.Threading.Semaphore are listed below. For a list of all members, see the Semaphore Members list.

See Also: Inherited members from System.Threading.WaitHandle

Public Methods

GetAccessControl() : System.Security.AccessControl.SemaphoreSecurity

Gets the access control security for a named system semaphore.

static
OpenExisting(string) : Semaphore

Opens the specified named semaphore, if it already exists.

static
OpenExisting(string, System.Security.AccessControl.SemaphoreRights) : Semaphore

Opens the specified named semaphore, if it already exists, with the desired security access.

Release() : int

Exits the semaphore and returns the previous count.

Release(int) : int

Exits the semaphore a specified number of times and returns the previous count.

SetAccessControl(System.Security.AccessControl.SemaphoreSecurity)

Sets the access control security for a named system semaphore.

static
TryOpenExisting(string, out Semaphore) : bool
Documentation for this section has not yet been entered.
static
TryOpenExisting(string, System.Security.AccessControl.SemaphoreRights, out Semaphore) : bool
Documentation for this section has not yet been entered.