SocketAsyncEventArgs.Count Property

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

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

public int Count { get; }

Property Value

Type: System.Int32
The maximum amount of data, in bytes, to send or receive.

This property is set by calling the SetBuffer method.

This property is used with the Socket.ConnectAsync, Socket.ReceiveAsync, and Socket.SendAsync methods.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: