Partager via


WebSocketReceiveResult Constructeurs

Définition

Crée une instance de WebSocketReceiveResult.

Surcharges

WebSocketReceiveResult(Int32, WebSocketMessageType, Boolean)

Crée une instance de la classe WebSocketReceiveResult.

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

Crée une instance de la classe WebSocketReceiveResult.

WebSocketReceiveResult(Int32, WebSocketMessageType, Boolean)

Source:
WebSocketReceiveResult.cs
Source:
WebSocketReceiveResult.cs
Source:
WebSocketReceiveResult.cs

Crée une instance de la classe 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)

Paramètres

count
Int32

Nombre d’octets reçus.

messageType
WebSocketMessageType

Type de message qui a été reçu.

endOfMessage
Boolean

Indique s’il s’agit du dernier message.

S’applique à

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

Source:
WebSocketReceiveResult.cs
Source:
WebSocketReceiveResult.cs
Source:
WebSocketReceiveResult.cs

Crée une instance de la classe 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)

Paramètres

count
Int32

Nombre d’octets reçus.

messageType
WebSocketMessageType

Type de message qui a été reçu.

endOfMessage
Boolean

Indique s’il s’agit du dernier message.

closeStatus
Nullable<WebSocketCloseStatus>

Indique le WebSocketCloseStatus de la connexion.

closeStatusDescription
String

Description de closeStatus.

S’applique à