Bagikan melalui


ClientWebSocketOptions.SetBuffer Metode

Definisi

Mengatur parameter buffer klien.

Overload

SetBuffer(Int32, Int32)

Mengatur parameter buffer klien.

SetBuffer(Int32, Int32, ArraySegment<Byte>)

Mengatur parameter buffer klien.

SetBuffer(Int32, Int32)

Sumber:
ClientWebSocketOptions.cs
Sumber:
ClientWebSocketOptions.cs
Sumber:
ClientWebSocketOptions.cs

Mengatur parameter buffer klien.

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)

Parameter

receiveBufferSize
Int32

Ukuran, dalam byte, klien menerima buffer.

sendBufferSize
Int32

Ukuran, dalam byte, dari klien mengirim buffer.

Atribut

Berlaku untuk

SetBuffer(Int32, Int32, ArraySegment<Byte>)

Sumber:
ClientWebSocketOptions.cs
Sumber:
ClientWebSocketOptions.cs
Sumber:
ClientWebSocketOptions.cs

Mengatur parameter buffer klien.

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))

Parameter

receiveBufferSize
Int32

Ukuran, dalam byte, klien menerima buffer.

sendBufferSize
Int32

Ukuran, dalam byte, dari klien mengirim buffer.

buffer
ArraySegment<Byte>

Buffer penerima yang akan digunakan.

Atribut

Berlaku untuk