WebSocketReceiveResult.MessageType 属性

定义

指示当前消息是 UTF-8 消息还是二进制消息。

public:
 property System::Net::WebSockets::WebSocketMessageType MessageType { System::Net::WebSockets::WebSocketMessageType get(); };
public System.Net.WebSockets.WebSocketMessageType MessageType { get; }
member this.MessageType : System.Net.WebSockets.WebSocketMessageType
Public ReadOnly Property MessageType As WebSocketMessageType

属性值

返回 WebSocketMessageType

适用于