[This documentation is preliminary and is subject to change.]
Applies to: Metro style apps | desktop apps
Provides socket control data on a MessageWebSocket.
Syntax
var messageWebSocketControl = MessageWebSocket.Control;
Attributes
- DualApiPartitionAttribute()
- MarshalingBehaviorAttribute(Agile)
- VersionAttribute(NTDDI_WIN8)
Members
The MessageWebSocketControl class has these types of members:
Methods
The MessageWebSocketControl class inherits methods from the Object class (C#/VB/C++).
Properties
The MessageWebSocketControl class has these properties.
| Property | Access type | Description |
|---|---|---|
| Read/write | The maximum message size, in bytes, for a WebSocket message to be configured on the MessageWebSocket object. | |
| Read/write | The WebSocket message type to be configured on a MessageWebSocket object. | |
| Read/write | The size, in bytes, of the send buffer to be used for sending data on a MessageWebSocket object. | |
| Read/write | The credential to use to authenticate to the proxy server through HTTP header authentication using a MessageWebSocket object. | |
| Read/write | The credential to use to authenticate to the WebSocket server through HTTP header authentication using a MessageWebSocket object. | |
| Read-only | Gets a collection that can be used to add a list of supported sub-protocols that will be advertised to the server during the connect handshake. |
Requirements
|
Minimum supported client | Windows 8 Release Preview |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
|
DLL |
|
See also
Build date: 5/22/2012
