WebSocketReceiveResult Constructor (Int32, WebSocketMessageType, Boolean)

.NET Framework (current version)
 

Creates an instance of the WebSocketReceiveResult class.

Namespace:   System.Net.WebSockets
Assembly:  System (in System.dll)

public WebSocketReceiveResult(
	int count,
	WebSocketMessageType messageType,
	bool endOfMessage
)

Parameters

count
Type: System.Int32

The number of bytes received.

messageType
Type: System.Net.WebSockets.WebSocketMessageType

The type of message that was received.

endOfMessage
Type: System.Boolean

Indicates whether this is the final message.

.NET Framework
Available since 4.5
Return to top
Show: