Share via


MessageWebSocketMessageReceivedEventArgs.IsMessageComplete Property

Definition

Allow clients to query if a MessageReceived callback indicates the received message is complete or just a partial message.

public:
 property bool IsMessageComplete { bool get(); };
bool IsMessageComplete();
public bool IsMessageComplete { get; }
var boolean = messageWebSocketMessageReceivedEventArgs.isMessageComplete;
Public ReadOnly Property IsMessageComplete As Boolean

Property Value

Boolean

bool

TRUE if the message is complete. The default value is FALSE.

Windows requirements

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

Remarks

This flag is always true if ReceiveMode is FullMessage mode (the default), but only true for the last (for a given set of fragments) MessageReceive callback in the new PartialMessage mode.

Applies to

See also