Click or drag to resize

CNamedEvent(Boolean, Boolean, String, Boolean) Constructor

Constructor for the Crestron named event class. This can be used to synchronize across multiple programs

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public CNamedEvent(
	bool bAutoOrManualEvent,
	bool bInitialState,
	string eventName,
	bool bLogInfoIfEventAlreadyExists
)

Parameters

bAutoOrManualEvent  Boolean
If true indicates Auto Reset event / False indicates Manual Reset Event
bInitialState  Boolean
If true indicates event is signaled
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
ExceptionCondition
ExceptionUnable to create event

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also