Compartir a través de


WebSocketReceiveResult Constructores

Definición

Crea una instancia de WebSocketReceiveResult.

Sobrecargas

WebSocketReceiveResult(Int32, WebSocketMessageType, Boolean)

Crea una instancia de la clase WebSocketReceiveResult.

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

Crea una instancia de la clase WebSocketReceiveResult.

WebSocketReceiveResult(Int32, WebSocketMessageType, Boolean)

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

Crea una instancia de la clase 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)

Parámetros

count
Int32

Número de bytes recibidos.

messageType
WebSocketMessageType

Tipo de mensaje que se recibió.

endOfMessage
Boolean

Indica si es este es el mensaje final.

Se aplica a

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

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

Crea una instancia de la clase 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)

Parámetros

count
Int32

Número de bytes recibidos.

messageType
WebSocketMessageType

Tipo de mensaje que se recibió.

endOfMessage
Boolean

Indica si es este es el mensaje final.

closeStatus
Nullable<WebSocketCloseStatus>

Indica el valor WebSocketCloseStatus de la conexión

closeStatusDescription
String

Descripción de closeStatus.

Se aplica a