共用方式為


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 引進)

適用於

另請參閱