ServerMessageWebSocketControl.MessageType Property
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.
Gets and sets the WebSocket message type to be configured on a ServerMessageWebSocket object for write operations.
public:
property SocketMessageType MessageType { SocketMessageType get(); void set(SocketMessageType value); };
SocketMessageType MessageType();
void MessageType(SocketMessageType value);
public SocketMessageType MessageType { get; set; }
var socketMessageType = serverMessageWebSocketControl.messageType;
serverMessageWebSocketControl.messageType = socketMessageType;
Public Property MessageType As SocketMessageType
Property Value
The WebSocket message type. The default is binary.
Windows requirements
App capabilities |
internetClientServer
privateNetworkClientServer
|