SocketAsyncEventArgs Properties
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The SocketAsyncEventArgs type exposes the following members.
| 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. |
|
ConnectByNameError | Gets the exception in the case of a connection failure when a DnsEndPoint was used. |
|
ConnectSocket | The created and connected Socket object after successful completion of the ConnectAsync method. |
|
Count | Gets the maximum amount of data, in bytes, to send or receive in an asynchronous operation. |
|
LastOperation | Gets the type of socket operation most recently performed with this object. |
|
Offset | Gets the offset, in bytes, into the data buffer referenced by the Buffer property. |
|
RemoteEndPoint | Gets or sets the remote IP or DNS endpoint for an asynchronous operation. |
|
SocketError | Gets or sets the result of the asynchronous socket operation. |
|
UserToken | Gets or sets a user or application object associated with this asynchronous socket operation. |
Show: