Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ValueWebSocketReceiveResult Struct

Definition

Namespace:
System.Net.WebSockets
Assemblies:
netstandard.dll, System.Net.WebSockets.dll
Assembly:
System.Net.WebSockets.dll
Assembly:
netstandard.dll
Source:
ValueWebSocketReceiveResult.cs
Source:
ValueWebSocketReceiveResult.cs
Source:
ValueWebSocketReceiveResult.cs
Source:
ValueWebSocketReceiveResult.cs
Source:
ValueWebSocketReceiveResult.cs

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
ValueWebSocketReceiveResult

Constructors

Name Description
ValueWebSocketReceiveResult(Int32, WebSocketMessageType, Boolean)

Initializes a new instance of the ValueWebSocketReceiveResult struct. An instance of this struct represents the result of performing a single ReceiveAsync operation on a WebSocket.

Properties

Name Description
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


Feedback

Was this page helpful?