WebSocketReceiveResult Costruttori

Definizione

Crea un'istanza di WebSocketReceiveResult.

Overload

WebSocketReceiveResult(Int32, WebSocketMessageType, Boolean)

Crea un'istanza della classe WebSocketReceiveResult.

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

Crea un'istanza della classe WebSocketReceiveResult.

WebSocketReceiveResult(Int32, WebSocketMessageType, Boolean)

Origine:
WebSocketReceiveResult.cs
Origine:
WebSocketReceiveResult.cs
Origine:
WebSocketReceiveResult.cs

Crea un'istanza della 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)

Parametri

count
Int32

Numero di byte ricevuti.

messageType
WebSocketMessageType

Tipo di messaggio ricevuto.

endOfMessage
Boolean

Indica se il messaggio è finale.

Si applica a

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

Origine:
WebSocketReceiveResult.cs
Origine:
WebSocketReceiveResult.cs
Origine:
WebSocketReceiveResult.cs

Crea un'istanza della 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)

Parametri

count
Int32

Numero di byte ricevuti.

messageType
WebSocketMessageType

Tipo di messaggio ricevuto.

endOfMessage
Boolean

Indica se il messaggio è finale.

closeStatus
Nullable<WebSocketCloseStatus>

Indica l'oggetto WebSocketCloseStatus della connessione.

closeStatusDescription
String

Descrizione di closeStatus.

Si applica a