Share via


Connection.Disconnect Method

.NET Framework 4

Stops the Connection without sending an abort message to the server.

Namespace:  Microsoft.AspNet.SignalR.Client
Assembly:  Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)

Syntax

'Declaration
Public Sub Disconnect
'Usage
Dim instance As Connection

instance.Disconnect()
public void Disconnect()
public:
virtual void Disconnect() sealed
abstract Disconnect : unit -> unit  
override Disconnect : unit -> unit
public final function Disconnect()

Implements

IConnection.Disconnect()

See Also

Reference

Connection Class

Microsoft.AspNet.SignalR.Client Namespace