MessageWebSocketControl.ReceiveMode 属性

定义

允许客户端控制接收完整或部分消息。

public:
 property MessageWebSocketReceiveMode ReceiveMode { MessageWebSocketReceiveMode get(); void set(MessageWebSocketReceiveMode value); };
MessageWebSocketReceiveMode ReceiveMode();

void ReceiveMode(MessageWebSocketReceiveMode value);
public MessageWebSocketReceiveMode ReceiveMode { get; set; }
var messageWebSocketReceiveMode = messageWebSocketControl.receiveMode;
messageWebSocketControl.receiveMode = messageWebSocketReceiveMode;
Public Property ReceiveMode As MessageWebSocketReceiveMode

属性值

MessageWebSocketReceiveMode 枚举成员,指示完整或部分消息。

Windows 要求

设备系列
Windows 10 Fall Creators Update (在 10.0.16299.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v5.0 中引入)

适用于

另请参阅