Microsoft.AspNet.SignalR.Client.Connection.Stop C# (CSharp) Method

Stop() public method

Stops the Connection and sends an abort message to the server.
public Stop ( ) : void
return void
        public void Stop()
        {
            Stop(DefaultAbortTimeout);
        }

Same methods

Connection::Stop ( Exception error ) : void
Connection::Stop ( Exception error, System.TimeSpan timeout ) : void
Connection::Stop ( System.TimeSpan timeout ) : void

Usage Example

 public void Dispose()
 {
     if (_conn != null)
     {
         _conn.Stop();
         _conn = null;
     }
 }
All Usage Examples Of Microsoft.AspNet.SignalR.Client.Connection::Stop