AsyncCrossProcessMutex(String) Constructor

Definition

Initializes a new instance of the AsyncCrossProcessMutex class.

public AsyncCrossProcessMutex (string name);
new Microsoft.VisualStudio.Threading.AsyncCrossProcessMutex : string -> Microsoft.VisualStudio.Threading.AsyncCrossProcessMutex
Public Sub New (name As String)

Parameters

name
String

A non-empty name for the mutex, which follows standard mutex naming rules. This name will share a namespace with other processes in the system and collisions will result in the processes sharing a single mutex across processes.

Remarks

See the help docs on the underlying Mutex class for more information on the name parameter. Consider when reading that the initiallyOwned parameter for that constructor is always false for this class.

Applies to