Click or drag to resize

CEvent Class

Class to create instances of crestron events.
Inheritance Hierarchy
SystemObject
  Crestron.SimplSharpCEventHandle
    Crestron.SimplSharpCEvent
      Crestron.SimplSharpCNamedEvent

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public class CEvent : CEventHandle

The CEvent type exposes the following members.

Constructors
 NameDescription
Public methodCEvent Default constructor for the CEvent Creates an Auto Reset Event with the event set to be signaled.
Public methodCEvent(Boolean, Boolean) Constructor for the Crestron Event class
Top
Methods
 NameDescription
Public methodClose Close the event to release all resources used by this instance.
(Overrides CEventHandleClose)
Public methodDispose Clean up of resources.
(Inherited from CEventHandle)
Protected methodDispose(Boolean) Dispose implementation
(Inherited from CEventHandle)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Destructor for the CEvent class
(Inherited from CEventHandle)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodReset Function to reset the specified event
Public methodSet Function to set the event
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWait Function to wait for the event to be signaled. This will block indefinitely until the event is signaled.
(Overrides CEventHandleWait)
Public methodWait(Int32) Function to wait for the event to be signaled
(Overrides CEventHandleWait(Int32))
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also