Occurs when the receive operation has completed.
The event handler receives an argument of type ReceiveCompletedEventArgs containing data related to this event. The following ReceiveCompletedEventArgs property provides information specific to this event.
| Property | Description |
|---|---|
| AsyncResult | Gets the result of the asynchronous receive operation. |
BeginReceive is used in asynchronous processing to raise the ReceiveCompleted event when the receive operation has completed.
EndReceive is used to complete the operation initiated by a call to BeginReceive and get the receive status when the ReceiveCompleted event is raised.