Export (0) Print
Expand All

Semaphore Methods

(see also Protected Methods )
  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)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (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)
Public method Static OpenExisting Overloaded. Opens an existing named semaphore.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Release Overloaded. Exits the semaphore.
Public method SetAccessControl Sets the access control security for a named system semaphore.
Public method Static SignalAndWait  Overloaded. Signals one WaitHandle and waits on another, as an atomic operation. (inherited from WaitHandle)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Static WaitAll  Overloaded. Waits for all the elements in the specified array to receive a signal. (inherited from WaitHandle)
Public method Static WaitAny  Overloaded. Waits for any of the elements in the specified array to receive a signal. (inherited from WaitHandle)
Public method WaitOne  Overloaded. Blocks the current thread until the current WaitHandle receives a signal. (inherited from WaitHandle)
Top

  Name Description
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)
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Top

Community Additions

ADD
Show:
© 2014 Microsoft