MessageWebSocketMessageReceivedEventArgs class

Expand
This topic has not yet been rated - Rate this topic

MessageWebSocketMessageReceivedEventArgs class

[This documentation is preliminary and is subject to change.]

Applies to: Metro style apps | desktop apps

Provides data for a message received event on a MessageWebSocket.

Syntax


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

Attributes

DualApiPartitionAttribute()
GCPressureAttribute()
MarshalingBehaviorAttribute(Agile)
VersionAttribute(NTDDI_WIN8)

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 Release Preview

Minimum supported server

Windows Server 2012

Namespace

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

Metadata

Windows.winmd

DLL

Windows.Networking.dll

See also

MessageWebSocket

 

 

Build date: 5/22/2012

Did you find this helpful?
(1500 characters remaining)
Community Additions ADD