CNamedMutex(Boolean, String, Boolean) Constructor |
Constructor for the Crestron Mutex
Namespace: Crestron.SimplSharpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic CNamedMutex(
bool bInitialOwner,
string mutexName,
bool bLogInfoIfMutexAlreadyExists
)
Parameters
- bInitialOwner Boolean
- True to give the calling thread initial ownership of the mutex; otherwise false.
- mutexName String
- Name of the mutex
- bLogInfoIfMutexAlreadyExists Boolean
- If true will log an info message if the mutex already exists (created by another program)
Exceptions| Exception | Condition |
|---|
| Exception | Unable to create mutex |
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also