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

SocketAsyncEventArgs Members

.NET Framework 3.5

Represents an asynchronous socket operation.

The SocketAsyncEventArgs type exposes the following members.

  NameDescription
Public method SocketAsyncEventArgs Creates an empty SocketAsyncEventArgs instance.
Top
  NameDescription
Public method Dispose Releases the unmanaged resources used by the SocketAsyncEventArgs instance and optionally disposes of the managed resources.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Frees resources used by the SocketAsyncEventArgs class. (Overrides Object.Finalize().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnCompleted Represents a method that is called when an asynchronous operation completes.
Public method SetBuffer Overloaded. Initializes the data buffer to use with an asynchronous socket method.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
  NameDescription
Public property AcceptSocket Gets or sets the socket to use or the socket created for accepting a connection with an asynchronous socket method.
Public property Buffer Gets the data buffer to use with an asynchronous socket method.
Public property BufferList Gets or sets an array of data buffers to use with an asynchronous socket method.
Public property BytesTransferred Gets the number of bytes transferred in the socket operation.
Public property Count Gets the maximum amount of data, in bytes, to send or receive in an asynchronous operation.
Public property DisconnectReuseSocket Gets or sets a value that specifies if socket can be reused after a disconnect operation.
Public property LastOperation Gets the type of socket operation most recently performed with this context object.
Public property Offset Gets the offset, in bytes, into the data buffer referenced by the Buffer property.
Public property ReceiveMessageFromPacketInfo Gets the IP address and interface of a received packet.
Public property RemoteEndPoint Gets or sets the remote IP endpoint for an asynchronous operation.
Public property SendPacketsElements Gets or sets an array of buffers to be sent for an asynchronous operation used by the Socket.SendPacketsAsync method.
Public property SendPacketsFlags Gets or sets a bitwise combination of TransmitFileOptions values for an asynchronous operation used by the Socket.SendPacketsAsync method.
Public property SendPacketsSendSize Gets or sets the size, in bytes, of the data block used in the send operation.
Public property SocketError Gets or sets the result of the asynchronous socket operation.
Public property SocketFlags Gets the results of an asynchronous socket operation or sets the behavior of an asynchronous operation.
Public property UserToken Gets or sets a user or application object associated with this asynchronous socket operation.
Top
  NameDescription
Public event Completed The event used to complete an asynchronous operation.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.