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.Reason | reason property

Applies to Windows and Windows Phone

Gets additional details about the reason that a WebSocket object was closed.

Syntax


var reason = webSocketClosedEventArgs.reason;

Property value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

Detailed information about the closure.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

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

Metadata

Windows.winmd

See also

WebSocketClosedEventArgs
WebSocketClosedEventArgs.Code | code

 

 

Show:
© 2014 Microsoft