System.Threading.Semaphore Members

The members of System.Threading.Semaphore are listed below.

See Also: Inherited members from System.Threading.WaitHandle

Public Constructors

Initializes a new instance of the System.Threading.Semaphore class, specifying the maximum number of concurrent entries and optionally reserving some entries.

Initializes a new instance of the System.Threading.Semaphore class, specifying the maximum number of concurrent entries, optionally reserving some entries for the calling thread, and optionally specifying the name of a system semaphore object.

Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.

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.