SocketAsyncEventArgs Properties

 

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubpropertyAcceptSocket

Gets or sets the socket to use or the socket created for accepting a connection with an asynchronous socket method.

System_CAPS_pubpropertyBuffer

Gets the data buffer to use with an asynchronous socket method.

System_CAPS_pubpropertyBufferList

Gets or sets an array of data buffers to use with an asynchronous socket method.

System_CAPS_pubpropertyBytesTransferred

Gets the number of bytes transferred in the socket operation.

System_CAPS_pubpropertyConnectByNameError

Gets the exception in the case of a connection failure when a DnsEndPoint was used.

System_CAPS_pubpropertyConnectSocket

The created and connected Socket object after successful completion of the ConnectAsync method.

System_CAPS_pubpropertyCount

Gets the maximum amount of data, in bytes, to send or receive in an asynchronous operation.

System_CAPS_pubpropertyDisconnectReuseSocket

Gets or sets a value that specifies if socket can be reused after a disconnect operation.

System_CAPS_pubpropertyLastOperation

Gets the type of socket operation most recently performed with this context object.

System_CAPS_pubpropertyOffset

Gets the offset, in bytes, into the data buffer referenced by the Buffer property.

System_CAPS_pubpropertyReceiveMessageFromPacketInfo

Gets the IP address and interface of a received packet.

System_CAPS_pubpropertyRemoteEndPoint

Gets or sets the remote IP endpoint for an asynchronous operation.

System_CAPS_pubpropertySendPacketsElements

Gets or sets an array of buffers to be sent for an asynchronous operation used by the Socket.SendPacketsAsync method.

System_CAPS_pubpropertySendPacketsFlags

Gets or sets a bitwise combination of TransmitFileOptions values for an asynchronous operation used by the Socket.SendPacketsAsync method.

System_CAPS_pubpropertySendPacketsSendSize

Gets or sets the size, in bytes, of the data block used in the send operation.

System_CAPS_pubpropertySocketClientAccessPolicyProtocol

Obsolete.Gets or sets the protocol to use to download the socket client access policy file.

System_CAPS_pubpropertySocketError

Gets or sets the result of the asynchronous socket operation.

System_CAPS_pubpropertySocketFlags

Gets the results of an asynchronous socket operation or sets the behavior of an asynchronous operation.

System_CAPS_pubpropertyUserToken

Gets or sets a user or application object associated with this asynchronous socket operation.

Return to top
Show: