public event EventHandler<EventArgs<int>> ReceiveData
Public Event ReceiveData As EventHandler(Of EventArgs(Of Integer))
public:
virtual event EventHandler<EventArgs<int>^>^ ReceiveData {
void add (EventHandler<EventArgs<int>^>^ value);
void remove (EventHandler<EventArgs<int>^>^ value);
}
function add_ReceiveData(value);
function remove_ReceiveData(value);
This event can be used to receive a notification that server data has arrived. The Read(Byte, Int32, Int32) method can then be used to copy data to an existing buffer. In many cases it will be optimal to use an existing buffer instead of subscribing to the ReceiveDataComplete event.
Argument is the number of bytes received in the buffer from the server.