ValueWebSocketReceiveResult Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the result of performing a single ReceiveAsync(Memory<Byte>, CancellationToken) operation on a WebSocket.
public value class ValueWebSocketReceiveResult
public readonly struct ValueWebSocketReceiveResult
type ValueWebSocketReceiveResult = struct
Public Structure ValueWebSocketReceiveResult
- Inheritance
Constructors
ValueWebSocketReceiveResult(Int32, WebSocketMessageType, Boolean) |
Initializes a new instance of the ValueWebSocketReceiveResult struct. An instance of this struct represents the result of performing a single |
Properties
Count |
Gets the number of bytes that the WebSocket received. |
EndOfMessage |
Gets whether the message has been received completely. |
MessageType |
Gets the type of the current message. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應