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.
3 out of 5 rated this helpful - Rate this topic

MessageWebSocketMessageReceivedEventArgs class

Provides data for a message received event on a MessageWebSocket.

Syntax


public sealed class MessageWebSocketMessageReceivedEventArgs : Object

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 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 [Windows Store apps, desktop apps]

Namespace

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

Metadata

Windows.winmd

DLL

Windows.Networking.dll

See also

MessageWebSocket

 

 

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.