Partager via


ClientWebSocketOptions.SetBuffer Méthode

Définition

Définit les paramètres de la mémoire tampon du client.

Surcharges

SetBuffer(Int32, Int32)

Définit les paramètres de la mémoire tampon du client.

SetBuffer(Int32, Int32, ArraySegment<Byte>)

Définit les paramètres de la mémoire tampon du client.

SetBuffer(Int32, Int32)

Source:
ClientWebSocketOptions.cs
Source:
ClientWebSocketOptions.cs
Source:
ClientWebSocketOptions.cs

Définit les paramètres de la mémoire tampon du client.

public:
 void SetBuffer(int receiveBufferSize, int sendBufferSize);
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public void SetBuffer (int receiveBufferSize, int sendBufferSize);
public void SetBuffer (int receiveBufferSize, int sendBufferSize);
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.SetBuffer : int * int -> unit
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 client.

sendBufferSize
Int32

Taille, en octets, de la mémoire tampon d'envoi client.

Attributs

S’applique à

SetBuffer(Int32, Int32, ArraySegment<Byte>)

Source:
ClientWebSocketOptions.cs
Source:
ClientWebSocketOptions.cs
Source:
ClientWebSocketOptions.cs

Définit les paramètres de la mémoire tampon du client.

public:
 void SetBuffer(int receiveBufferSize, int sendBufferSize, ArraySegment<System::Byte> buffer);
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public void SetBuffer (int receiveBufferSize, int sendBufferSize, ArraySegment<byte> buffer);
public void SetBuffer (int receiveBufferSize, int sendBufferSize, ArraySegment<byte> buffer);
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.SetBuffer : int * int * ArraySegment<byte> -> unit
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 client.

sendBufferSize
Int32

Taille, en octets, de la mémoire tampon d'envoi client.

buffer
ArraySegment<Byte>

Mémoire tampon de réception à utiliser.

Attributs

S’applique à