CNamedEvent(String, Boolean) Constructor |
Default constructor for the Crestron named event class
This can be used to synchronize across multiple programs
Creates an Auto Reset Event with the event set to be signaled
Namespace: Crestron.SimplSharpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic CNamedEvent(
string eventName,
bool bLogInfoIfEventAlreadyExists
)
Parameters
- eventName String
- Name of the event
- bLogInfoIfEventAlreadyExists Boolean
- If true will log an info message if the event already exists (created by another program)
Exceptions| Exception | Condition |
|---|
| Exception | Unable to create event |
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also