- result
- Documentation for this section has not yet been entered.
- end_point
- Documentation for this section has not yet been entered.
A int containing the number of bytes received.
Type Reason ArgumentNullException asyncResult is null. ArgumentException asyncResult was not returned by the current instance from a call to the Socket.BeginReceiveFrom(Byte[], int, int, SocketFlags, System.Net.EndPoint@, AsyncCallback, object) method. InvalidOperationException Socket.EndReceiveFrom(IAsyncResult, System.Net.EndPoint@) was previously called for this operation. System.Net.Sockets.SocketException Note: For additional information on causes of the SocketException, see the System.Net.Sockets.SocketException class.ObjectDisposedException The current instance has been disposed.
This method blocks if the asynchronous operation has not completed.
The Socket.EndReceiveFrom(IAsyncResult, System.Net.EndPoint@) method completes an asynchronous request that was started with a call to the Socket.BeginReceiveFrom(Byte[], int, int, SocketFlags, System.Net.EndPoint@, AsyncCallback, object) method. The object specified for the asyncResult parameter is required to be the same object as was returned by the Socket.BeginReceiveFrom(Byte[], int, int, SocketFlags, System.Net.EndPoint@, AsyncCallback, object) method call that began the request.
If the Socket.EndReceiveFrom(IAsyncResult, System.Net.EndPoint@) method is invoked via the AsyncCallback delegate specified to the Socket.BeginReceiveFrom(Byte[], int, int, SocketFlags, System.Net.EndPoint@, AsyncCallback, object) method, the asyncResult parameter is the IAsyncResult argument passed to the delegate's method.