The DataReceived Event is fired when new data arrives for the current UsbEndpointReader.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual event EventHandler<EndpointDataEventArgs> DataReceived
Public Overridable Event DataReceived As EventHandler(Of EndpointDataEventArgs)
public: virtual event EventHandler<EndpointDataEventArgs^>^ DataReceived { void add (EventHandler<EndpointDataEventArgs^>^ value); void remove (EventHandler<EndpointDataEventArgs^>^ value); }
Remarks
To use the DataReceived event, DataReceivedEnabled must be set to truw.