In The Hand LtdIn The Hand
OpenExisting Method (name)
NamespacesInTheHand.ThreadingEventWaitHandleOpenExisting(String)
.NET Components for Mobility
Opens an existing named synchronization event.
Declaration Syntax
C#Visual Basic
public static EventWaitHandle OpenExisting(
	string name
)
Public Shared Function OpenExisting ( _
	name As String _
) As EventWaitHandle
Parameters
name (String)
The name of a system event.
Return Value
A EventWaitHandle object that represents the named system event.
Remarks
The OpenExisting method attempts to open an existing named system event. If the system event does not exist, this method throws an exception instead of creating the system event. Two calls to this method with the same value for name do not return the same EventWaitHandle object, even though they represent the same named system event.
Exceptions
ExceptionCondition
ArgumentExceptionname is an empty string. -or- name is longer than 260 characters.
ArgumentNullExceptionname is a null reference (Nothing in Visual Basic).
WaitHandleCannotBeOpenedExceptionThe named system event does not exist.

Assembly: InTheHand (Module: InTheHand) Version: 7.0.0.0