Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MessageWebSocketMessageReceivedEventArgs class

Applies to Windows and Windows Phone

Provides data for a message received event on a MessageWebSocket.

Syntax


/* For information about creating or accessing this object, see Remarks. */

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Version(0x06020000)]

Members

The MessageWebSocketMessageReceivedEventArgs class has these types of members:

Methods

The MessageWebSocketMessageReceivedEventArgs class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
GetDataReader Gets a DataReader object to read incoming data received from the remote network destination on a MessageWebSocket.
GetDataStream Gets an IInputStream object (a message represented as a sequential stream of bytes) from the remote network destination on a MessageWebSocket object.

 

Properties

The MessageWebSocketMessageReceivedEventArgs class has these properties.

PropertyAccess typeDescription

MessageType

Read-onlyGets the type of the message received by a MessageWebSocket object.

 

Remarks

The MessageWebSocketMessageReceivedEventArgs is used to receive data on a MessageWebSocket object.

A MessageWebSocket.MessageReceived event occurs on a MessageWebSocket when a message is received. A MessageWebSocketMessageReceivedEventArgs instance is created when the MessageWebSocket.MessageReceived event occurs.

Requirements

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Networking.Sockets
Windows::Networking::Sockets [C++]

Metadata

Windows.winmd

DLL

Windows.Networking.dll

See also

MessageWebSocket

 

 

Show:
© 2014 Microsoft. All rights reserved.