Breyta

Deila með


SocketAsyncEventArgs.Count Property

Definition

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

public:
 property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer

Property Value

An Int32 that contains the maximum amount of data, in bytes, to send or receive.

Remarks

This property is set by calling the SetBuffer method.

This property is used with the Socket.AcceptAsync, Socket.ConnectAsync, Socket.ReceiveAsync, Socket.ReceiveFromAsync, Socket.ReceiveMessageFromAsync, Socket.SendAsync, and Socket.SendToAsync methods.

Applies to

See also