WebSocketClosedEventArgs class

Applies to Windows and Windows Phone

Provides data for a closed event on a MessageWebSocket, StreamWebSocket, or IWebSocket object.

Syntax


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

Attributes

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

Members

The WebSocketClosedEventArgs class has these types of members:

Methods

The WebSocketClosedEventArgs class inherits methods from the Object class (C#/VB/C++).

Properties

The WebSocketClosedEventArgs class has these properties.

PropertyAccess typeDescription

Code

Read-onlyGets information about the reason that a WebSocket object was closed.

Reason

Read-onlyGets additional details about the reason that a WebSocket object was closed.

 

Remarks

A WebSocketClosedEventArgs instance is created when the MessageWebSocket.Closed, StreamWebSocket.Closed, or IWebSocket.Closed 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.Closed
StreamWebSocket.Closed
IWebSocket.Closed

 

 

Show:
© 2014 Microsoft