MessageWebSocket.Close Method ()

Closes the MessageWebSocket object and sends an empty close frame to the server.

Syntax

public:
void Close()  

Remarks

For apps written in C++, the Close method will be called when using the delete keyword on the object.

Requirements

Namespace: Windows.Networking.Sockets

Metadata: windows.winmd

See also

Reference

MessageWebSocket Class

MessageWebSocket Members

Windows.Networking.Sockets Namespace