The type of asynchronous socket operation most recently performed with this context object.
Assembly: System (in System.dll)
|A socket Accept operation.|
|A socket Connect operation.|
|A socket Disconnect operation.|
|None of the socket operations.|
|A socket Receive operation.|
|A socket ReceiveFrom operation.|
|A socket ReceiveMessageFrom operation.|
|A socket Send operation.|
|A socket SendPackets operation.|
|A 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 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 type is used by the SocketAsyncEventArgs.LastOperation property.
Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.