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
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk