Abort() публичный Метод

public Abort ( ) : void
Результат void
Пример #1
0
 public override void Abort()
 {
     if ((InternalState)_state != InternalState.Disposed)
     {
         _innerWebSocket?.Abort();
         Dispose();
     }
 }
Пример #2
0
 public override void Abort()
 {
     if ((InternalState)_state == InternalState.Disposed)
     {
         return;
     }
     if (_innerWebSocket.IsValid)
     {
         _innerWebSocket.Abort();
     }
     Dispose();
 }