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

SocketAsyncOperation Enumeration

The type of asynchronous socket operation most recently performed with this object.

Namespace:  System.Net.Sockets
Assembly:  System.Net (in System.Net.dll)
'Declaration
Public Enumeration SocketAsyncOperation
Member nameDescription
Supported by Silverlight for Windows PhoneNoneNone of the socket operations.
Supported by Silverlight for Windows PhoneConnectA socket Connect operation.
Supported by Silverlight for Windows PhoneReceiveA socket Receive operation.
Supported by Silverlight for Windows PhoneSendA socket Send operation.
Supported by Silverlight for Windows PhoneReceiveFromA socket ReceiveFrom operation.
Supported by Silverlight for Windows PhoneSendToA socket SendTo operation.

This type describes the asynchronous socket operation that was most recently completed using a System.Net.Sockets.SocketAsyncEventArgs object. The value of the SocketAsyncEventArgs.LastOperation property is set to None until the System.Net.Sockets.SocketAsyncEventArgs instance is used to begin an asynchronous socket operation. The property will then be set to the type of asynchronous operation being performed. This type more easily facilitates using a single completion callback delegate for multiple kinds of asynchronous socket operations. This type is intended for use in the SocketAsyncCallback completion routine.

The SocketAsyncOperation type is used by the SocketAsyncEventArgs.LastOperation property.

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

ADD
Show:
© 2014 Microsoft. All rights reserved.