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.

WebSocketClosedEventArgs class

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

Syntax


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

Members

The WebSocketClosedEventArgs class has these types of members:

Properties

The WebSocketClosedEventArgs class has these properties.

PropertyAccess typeDescription

Code

Read-only

Gets information about the reason that a WebSocket object was closed.

Reason

Read-only

Gets 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 (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

Attributes

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

See also

Object
MessageWebSocket.Closed
StreamWebSocket.Closed
IWebSocket.Closed

 

 

Show: