ClientWebSocketOptions.SetBuffer Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Définit les paramètres de mémoire tampon du client.
Surcharges
| Nom | Description |
|---|---|
| SetBuffer(Int32, Int32) |
Définit les paramètres de mémoire tampon du client. |
| SetBuffer(Int32, Int32, ArraySegment<Byte>) |
Définit les paramètres de mémoire tampon du client. |
SetBuffer(Int32, Int32)
Définit les paramètres de mémoire tampon du client.
public:
void SetBuffer(int receiveBufferSize, int sendBufferSize);
public void SetBuffer(int receiveBufferSize, int sendBufferSize);
member this.SetBuffer : int * int -> unit
Public Sub SetBuffer (receiveBufferSize As Integer, sendBufferSize As Integer)
Paramètres
- receiveBufferSize
- Int32
Taille, en octets, de la mémoire tampon de réception du client.
- sendBufferSize
- Int32
Taille, en octets, de la mémoire tampon d’envoi du client.
S’applique à
SetBuffer(Int32, Int32, ArraySegment<Byte>)
Définit les paramètres de mémoire tampon du client.
public:
void SetBuffer(int receiveBufferSize, int sendBufferSize, ArraySegment<System::Byte> buffer);
public void SetBuffer(int receiveBufferSize, int sendBufferSize, ArraySegment<byte> buffer);
member this.SetBuffer : int * int * ArraySegment<byte> -> unit
Public Sub SetBuffer (receiveBufferSize As Integer, sendBufferSize As Integer, buffer As ArraySegment(Of Byte))
Paramètres
- receiveBufferSize
- Int32
Taille, en octets, de la mémoire tampon de réception du client.
- sendBufferSize
- Int32
Taille, en octets, de la mémoire tampon d’envoi du client.
- buffer
- ArraySegment<Byte>
Mémoire tampon de réception à utiliser.