Udostępnij za pośrednictwem


WebSocketReceiveResult Konstruktory

Definicja

Tworzy wystąpienie klasy WebSocketReceiveResult.

Przeciążenia

WebSocketReceiveResult(Int32, WebSocketMessageType, Boolean)

Tworzy wystąpienie klasy WebSocketReceiveResult.

WebSocketReceiveResult(Int32, WebSocketMessageType, Boolean, Nullable<WebSocketCloseStatus>, String)

Tworzy wystąpienie klasy WebSocketReceiveResult.

WebSocketReceiveResult(Int32, WebSocketMessageType, Boolean)

Źródło:
WebSocketReceiveResult.cs
Źródło:
WebSocketReceiveResult.cs
Źródło:
WebSocketReceiveResult.cs

Tworzy wystąpienie klasy WebSocketReceiveResult.

public:
 WebSocketReceiveResult(int count, System::Net::WebSockets::WebSocketMessageType messageType, bool endOfMessage);
public WebSocketReceiveResult (int count, System.Net.WebSockets.WebSocketMessageType messageType, bool endOfMessage);
new System.Net.WebSockets.WebSocketReceiveResult : int * System.Net.WebSockets.WebSocketMessageType * bool -> System.Net.WebSockets.WebSocketReceiveResult
Public Sub New (count As Integer, messageType As WebSocketMessageType, endOfMessage As Boolean)

Parametry

count
Int32

Liczba bajtów odebranych.

messageType
WebSocketMessageType

Typ odebranego komunikatu.

endOfMessage
Boolean

Wskazuje, czy jest to komunikat końcowy.

Dotyczy

WebSocketReceiveResult(Int32, WebSocketMessageType, Boolean, Nullable<WebSocketCloseStatus>, String)

Źródło:
WebSocketReceiveResult.cs
Źródło:
WebSocketReceiveResult.cs
Źródło:
WebSocketReceiveResult.cs

Tworzy wystąpienie klasy WebSocketReceiveResult.

public:
 WebSocketReceiveResult(int count, System::Net::WebSockets::WebSocketMessageType messageType, bool endOfMessage, Nullable<System::Net::WebSockets::WebSocketCloseStatus> closeStatus, System::String ^ closeStatusDescription);
public WebSocketReceiveResult (int count, System.Net.WebSockets.WebSocketMessageType messageType, bool endOfMessage, System.Net.WebSockets.WebSocketCloseStatus? closeStatus, string? closeStatusDescription);
public WebSocketReceiveResult (int count, System.Net.WebSockets.WebSocketMessageType messageType, bool endOfMessage, System.Net.WebSockets.WebSocketCloseStatus? closeStatus, string closeStatusDescription);
new System.Net.WebSockets.WebSocketReceiveResult : int * System.Net.WebSockets.WebSocketMessageType * bool * Nullable<System.Net.WebSockets.WebSocketCloseStatus> * string -> System.Net.WebSockets.WebSocketReceiveResult
Public Sub New (count As Integer, messageType As WebSocketMessageType, endOfMessage As Boolean, closeStatus As Nullable(Of WebSocketCloseStatus), closeStatusDescription As String)

Parametry

count
Int32

Liczba bajtów odebranych.

messageType
WebSocketMessageType

Typ odebranego komunikatu.

endOfMessage
Boolean

Wskazuje, czy jest to komunikat końcowy.

closeStatus
Nullable<WebSocketCloseStatus>

Wskazuje WebSocketCloseStatus połączenie.

closeStatusDescription
String

Opis elementu closeStatus.

Dotyczy