- requestCallback
- An AsyncCallback delegate that references the method to invoke when the operation is complete.
- state
- A user-defined object that contains information about the receive operation. This object is passed to the requestCallback delegate when the operation is complete.
An IAsyncResult object that references the asynchronous receive.
The asynchronous UdpClient.BeginReceive(AsyncCallback, object) operation must be completed by calling the UdpClient.EndReceive(IAsyncResult, System.Net.IPEndPoint@) method. Typically, the method is invoked by the requestCallback delegate.
This method does not block until the operation is complete. To block until the operation is complete, use the UdpClient.Receive(System.Net.IPEndPoint@) method.
For detailed information about using the asynchronous programming model, see Asynchronous Programming Overview.