Udostępnij za pośrednictwem


MessageWebSocketControl.ReceiveMode Property

Definition

Allows clients to control receiving either complete or partial messages.

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

Property Value

A MessageWebSocketReceiveMode enumeration member indicating either complete or partial messages.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Applies to

See also