WebSocketReceiveResult WebSocketReceiveResult WebSocketReceiveResult WebSocketReceiveResult Class

Definition

An instance of this class represents the result of performing a single ReceiveAsync operation on a WebSocket.

public ref class WebSocketReceiveResult
public class WebSocketReceiveResult
type WebSocketReceiveResult = class
Public Class WebSocketReceiveResult
Inheritance
WebSocketReceiveResultWebSocketReceiveResultWebSocketReceiveResultWebSocketReceiveResult

Constructors

WebSocketReceiveResult(Int32, WebSocketMessageType, Boolean) WebSocketReceiveResult(Int32, WebSocketMessageType, Boolean) WebSocketReceiveResult(Int32, WebSocketMessageType, Boolean) WebSocketReceiveResult(Int32, WebSocketMessageType, Boolean)

Creates an instance of the WebSocketReceiveResult class.

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

Creates an instance of the WebSocketReceiveResult class.

Properties

CloseStatus CloseStatus CloseStatus CloseStatus

Indicates the reason why the remote endpoint initiated the close handshake.

CloseStatusDescription CloseStatusDescription CloseStatusDescription CloseStatusDescription

Returns the optional description that describes why the close handshake has been initiated by the remote endpoint.

Count Count Count Count

Indicates the number of bytes that the WebSocket received.

EndOfMessage EndOfMessage EndOfMessage EndOfMessage

Indicates whether the message has been received completely.

MessageType MessageType MessageType MessageType

Indicates whether the current message is a UTF-8 message or a binary message.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to