This topic has not yet been rated - Rate this topic

Semaphore Methods

The Semaphore type exposes the following members.

  Name Description
Public method Close When overridden in a derived class, releases all resources held by the current WaitHandle. (Inherited from WaitHandle.)
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Protected method Dispose When overridden in a derived class, releases the unmanaged resources used by the WaitHandle, and optionally releases the managed resources. (Inherited from WaitHandle.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetAccessControl Gets the access control security for a named system semaphore.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone Overloaded.
Public method Static member OpenExisting Overloaded. Opens an existing named semaphore.
Public method Release Overloaded. Exits the semaphore.
Public method SetAccessControl Sets the access control security for a named system semaphore.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method WaitOne Overloaded. Blocks the current thread until the current WaitHandle receives a signal.
Top
  Name Description
Explicit interface implemetation Private method IDisposable.Dispose Infrastructure. Releases all resources used by the WaitHandle. (Inherited from WaitHandle.)
Top
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ