C# Class Cimbalino.Phone.Toolkit.Helpers.MutexLock

Allows for inter-process locking and synchronization.
Inheritance: IDisposable
Show file Open project: Cimbalino/Cimbalino-Phone-Toolkit Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Releases the resources allocated by this MutexLock instance.

Lock ( ) : IDisposable

Locks the Mutex and returns an IDisposable object that when disposed will release the Mutex.

MutexLock ( string name ) : System

Initializes a new instance of the MutexLock class.

Method Details

Dispose() public method

Releases the resources allocated by this MutexLock instance.
public Dispose ( ) : void
return void

Lock() public method

Locks the Mutex and returns an IDisposable object that when disposed will release the Mutex.
public Lock ( ) : IDisposable
return IDisposable

MutexLock() public method

Initializes a new instance of the MutexLock class.
public MutexLock ( string name ) : System
name string The name of the Mutex.
return System