WaitEvent
Sets or acquires the event to wait for.
■
Syntax
[VB]
Public Property
[C#]
public EN_EVENT
■
Property
Event to wait for
Parameter values: As listed in EN_EVENT
Default value: EN_EVENT.NONE
Exceptions
■
Name of Exception
ObjectDisposedException
ArgumentException
Note
■
The parameter value will always be EN_EVENT.NONE while the port is closed.
[Ex.] Set the BHT to wait for a receive event.
[VB] MyComm.WaitEvent = CommSerial.EN_EVENT.RECEIVE
[C#] MyComm.WaitEvent = CommSerial.EN_EVENT.RECEIVE;
WaitEvent
As EN_EVENT
WaitEvent
{get; set;}
Meaning
COM has not been opened yet.
The specified parameter value(s) lies outside the
permissible range.
- 295 -