ServerMessageWebSocketControl 类

定义

ServerMessageWebSocket 上提供套接字控制数据。

public ref class ServerMessageWebSocketControl sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ServerMessageWebSocketControl final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ServerMessageWebSocketControl
Public NotInheritable Class ServerMessageWebSocketControl
继承
Object Platform::Object IInspectable ServerMessageWebSocketControl
属性

Windows 要求

设备系列
Windows 10, version 1803 (在 10.0.17134.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v6.0 中引入)
应用功能
internetClientServer privateNetworkClientServer

属性

MessageType

获取并设置要针对写入操作在 ServerMessageWebSocket 对象上配置的 WebSocket 消息类型。

适用于

另请参阅