Mutex Methods
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | Close() | Releases all resources held by the current WaitHandle.(Inherited from WaitHandle.) |
![]() | CreateObjRef(Type^) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.) |
![]() | Dispose() | Releases all resources used by the current instance of the WaitHandle class.(Inherited from WaitHandle.) |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetAccessControl() | Gets a MutexSecurity object that represents the access control security for the named mutex. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetLifetimeService() | Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.) |
![]() | GetType() | |
![]() | InitializeLifetimeService() | Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.) |
![]() ![]() | OpenExisting(String^) | Opens the specified named mutex, if it already exists. |
![]() ![]() | OpenExisting(String^, MutexRights) | Opens the specified named mutex, if it already exists, with the desired security access. |
![]() | ReleaseMutex() | Releases the Mutex once. |
![]() | SetAccessControl(MutexSecurity^) | Sets the access control security for a named system mutex. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() ![]() | TryOpenExisting(String^, Mutex^%) | Opens the specified named mutex, if it already exists, and returns a value that indicates whether the operation succeeded. |
![]() ![]() | TryOpenExisting(String^, MutexRights, Mutex^%) | Opens the specified named mutex, if it already exists, with the desired security access, and returns a value that indicates whether the operation succeeded. |
![]() | WaitOne() | Blocks the current thread until the current WaitHandle receives a signal.(Inherited from WaitHandle.) |
![]() | WaitOne(Int32) | Blocks the current thread until the current WaitHandle receives a signal, using a 32-bit signed integer to specify the time interval in milliseconds.(Inherited from WaitHandle.) |
![]() | WaitOne(Int32, Boolean) | Blocks the current thread until the current WaitHandle receives a signal, using a 32-bit signed integer to specify the time interval and specifying whether to exit the synchronization domain before the wait.(Inherited from WaitHandle.) |
![]() | WaitOne(TimeSpan) | Blocks the current thread until the current instance receives a signal, using a TimeSpan to specify the time interval.(Inherited from WaitHandle.) |
![]() | WaitOne(TimeSpan, Boolean) | Blocks the current thread until the current instance receives a signal, using a TimeSpan to specify the time interval and specifying whether to exit the synchronization domain before the wait.(Inherited from WaitHandle.) |
| Name | Description | |
|---|---|---|
![]() | GetSafeWaitHandle() | Gets the safe handle for a native operating system wait handle. (Defined by WaitHandleExtensions.) |
![]() | SetSafeWaitHandle(SafeWaitHandle^) | Sets a safe handle for a native operating system wait handle. (Defined by WaitHandleExtensions.) |

