StreamWebSocket.Control Property

Gets socket control data on a StreamWebSocket object.

Syntax

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

Property value

Type: StreamWebSocketControl 

Socket control data on a StreamWebSocket object.

Remarks

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

Any changes to the StreamWebSocketControl property values must be set before the StreamWebSocket is connected. So changes to the properties on the StreamWebSocketmust be set before the ConnectAsync method is called on the StreamWebSocket.

Requirements

Namespace: Windows.Networking.Sockets

Metadata: windows.winmd

See also

Reference

StreamWebSocket Class

StreamWebSocket Members

Windows.Networking.Sockets Namespace