Count Property

SocketAsyncEventArgs.Count Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft