SocketAsyncEventArgs.Count Proprietà

Definizione

Ottiene la quantità massima di dati, in byte, da inviare o ricevere in un'operazione asincrona.

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

Valore della proprietà

Oggetto Int32 contenente la quantità massima di dati, in byte, da inviare o ricevere.

Commenti

Questa proprietà viene impostata chiamando il SetBuffer metodo .

Questa proprietà viene usata con i Socket.AcceptAsyncmetodi , Socket.ConnectAsyncSocket.ReceiveAsyncSocket.ReceiveFromAsync, , Socket.ReceiveMessageFromAsync, Socket.SendAsync, e Socket.SendToAsync .

Si applica a

Vedi anche