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