Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SocketAsyncEventArgs.Completed Event

An event that indicates an asynchronous operation is completed.

Namespace:  System.Net.Sockets
Assembly:  System.Net (in System.Net.dll)
public event EventHandler<SocketAsyncEventArgs> Completed

The Completed event provides a way for client applications to complete an asynchronous socket operation. An event handler must be attached to the event within a SocketAsyncEventArgs instance when an asynchronous socket operation is initiated. The completion callback delegates referenced by the Completed event contains program logic to finish processing the asynchronous socket operation for the client.

When the event is signaled, the application uses the SocketAsyncEventArgs object parameter to obtain the status of the completed asynchronous socket operation.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.