MessageWebSocket.Control Property

Gets socket control data on a MessageWebSocket object.

Syntax

public:
property MessageWebSocketControl^ Control {
         MessageWebSocketControl^ get ();
}  

Property value

Type: MessageWebSocketControl 

Socket control data on a MessageWebSocket object.

Remarks

The Control property gets the MessageWebSocketControl instance associated with a MessageWebSocket object. The MessageWebSocketControl instance can then be used to get or set control data used by the MessageWebSocket object.

Any changes to the MessageWebSocketControl property values must be set before the MessageWebSocket is connected. So changes to the properties on the MessageWebSocket must be set before the ConnectAsync method is called on the MessageWebSocket.

Requirements

Namespace: Windows.Networking.Sockets

Metadata: windows.winmd

See also

Reference

MessageWebSocket Class

MessageWebSocket Members

Windows.Networking.Sockets Namespace