This topic has not yet been rated - Rate this topic

StreamWebSocket.Close | close methods

Closes the StreamWebSocket object.

Overload list

MethodDescription
Close(UInt16, String) Closes the StreamWebSocket and indicates a reason for the closure.
Close() Closes the StreamWebSocket and sends an empty close frame to the server.

Remarks

Use Close(UInt16, String) to provide a reason for the closure.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

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

Metadata

Windows.winmd

DLL

Windows.Networking.dll

See also

StreamWebSocket

 

 

Build date: 2/25/2013

© 2013 Microsoft. All rights reserved.