IWebSocket.ConnectAsync(Uri) IWebSocket.ConnectAsync(Uri) IWebSocket.ConnectAsync(Uri) IWebSocket.ConnectAsync(Uri) IWebSocket.ConnectAsync(Uri) Method

Definition

Starts an asynchronous operation to connect to a remote network destination on a IWebSocket object.

public : IAsyncAction ConnectAsync(Uri uri)
IAsyncAction ConnectAsync(Uri uri) const;
public IAsyncAction ConnectAsync(Uri uri)
Public Function ConnectAsync(uri As Uri) As IAsyncAction
Windows.Networking.Sockets.IWebSocket.connectAsync(uri).done( /* Your success and error handlers */ );

Parameters

uri
Uri Uri Uri

An absolute Uri for the server to connect to.

Returns

An asynchronous connect operation on a IWebSocket object.

See also

  • Uri Uri Uri