wclConnectionDataEvent Delegate |
The OnData event handler prototype.
Namespace: wclCommunicationAssembly: wclCommunication (in wclCommunication.dll) Version: 7.9.6.0 (7.9.6.0)
Syntaxpublic delegate void wclConnectionDataEvent(
Object Sender,
byte[] Data
)
Public Delegate Sub wclConnectionDataEvent (
Sender As Object,
Data As Byte()
)
public delegate void wclConnectionDataEvent(
Object^ Sender,
array<unsigned char>^ Data
)
Parameters
- Sender Object
- The object that initiated the event.
- Data Byte
- The pointer to the received data buffer.
It is guaranteed that the parameter points to a valid data buffer.
The data buffer is valid only inside the event handler. If an
application needs to use the data outside the event handle it must
allocate own buffer and copy data into it.
See Also