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
.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.