RtEventWaitHandle.OpenExisting Method
Opens an existing named synchronization event.
Namespace:
IntervalZero.MaxRT.wRTOS.RtApi.Threading
Assembly:
IntervalZero.MaxRT.wRTOS (in IntervalZero.MaxRT.wRTOS.dll) Version: 1.0.0.0 (File version: 1.1.0)
Syntax
public static RtEventWaitHandle OpenExisting(
string name
)
Parameters
name
Type: System.String
The name of a system event.
Return Value
Type: RtEventWaitHandle
A EventWaitHandle object that represents the named system event.
Exceptions
| Exception | Condition |
|---|---|
|
ArgumentException |
name is a zero-length string. -or- name is longer than 260 characters. |
|
ArgumentNullException |
name is a null reference (Nothing in Visual Basic). |
|
WaitHandleCannotBeOpenedException |
The named system event does not exist. |
See Also: