ValueWebSocketReceiveResult ValueWebSocketReceiveResult ValueWebSocketReceiveResult ValueWebSocketReceiveResult Struct

定義

表示在 WebSocket 上執行單一 ReceiveAsync(Memory<Byte>, CancellationToken) 作業的結果。Represents the result of performing a single ReceiveAsync(Memory<Byte>, CancellationToken) operation on a WebSocket.

public value class ValueWebSocketReceiveResult
public struct ValueWebSocketReceiveResult
type ValueWebSocketReceiveResult = struct
Public Structure ValueWebSocketReceiveResult
繼承
ValueWebSocketReceiveResultValueWebSocketReceiveResultValueWebSocketReceiveResultValueWebSocketReceiveResult

建構函式

ValueWebSocketReceiveResult(Int32, WebSocketMessageType, Boolean) ValueWebSocketReceiveResult(Int32, WebSocketMessageType, Boolean) ValueWebSocketReceiveResult(Int32, WebSocketMessageType, Boolean) ValueWebSocketReceiveResult(Int32, WebSocketMessageType, Boolean)

初始化 ValueWebSocketReceiveResult 結構的新執行個體。Initializes a new instance of the ValueWebSocketReceiveResult struct. 這個結構的執行個體表示在 WebSocket 上執行單一 ReceiveAsync 作業的結果。An instance of this struct represents the result of performing a single ReceiveAsync operation on a WebSocket.

屬性

Count Count Count Count
EndOfMessage EndOfMessage EndOfMessage EndOfMessage
MessageType MessageType MessageType MessageType

適用於