Dela via


ServerMessageWebSocketControl.MessageType Property

Definition

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

Applies to