ValueWebSocketReceiveResult(Int32, WebSocketMessageType, Boolean) Constructor
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.
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.
public:
ValueWebSocketReceiveResult(int count, System::Net::WebSockets::WebSocketMessageType messageType, bool endOfMessage);
public ValueWebSocketReceiveResult (int count, System.Net.WebSockets.WebSocketMessageType messageType, bool endOfMessage);
new System.Net.WebSockets.ValueWebSocketReceiveResult : int * System.Net.WebSockets.WebSocketMessageType * bool -> System.Net.WebSockets.ValueWebSocketReceiveResult
Public Sub New (count As Integer, messageType As WebSocketMessageType, endOfMessage As Boolean)
Parameters
- messageType
- WebSocketMessageType
One of the enumeration values that indicates whether the current message is a UTF-8 message or a binary message.
- endOfMessage
- Boolean
true
to indicate the messsage has been received completely; otherwise, false
.