संपादित करें

इसके माध्यम से साझा किया गया


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
WebSocketReceiveResult

Constructors

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

Creates an instance of the WebSocketReceiveResult class.

WebSocketReceiveResult(Int32, WebSocketMessageType, Boolean)

Creates an instance of the WebSocketReceiveResult class.

Properties

CloseStatus

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

CloseStatusDescription

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

Count

Indicates the number of bytes that the WebSocket received.

EndOfMessage

Indicates whether the message has been received completely.

MessageType

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

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to