ClearCommandTimeout() private method

Clears query timeout, allowing next SetCommandTimeout() to succeed.
private ClearCommandTimeout ( ) : void
return void
Exemplo n.º 1
0
 public void Dispose()
 {
     if (timeoutSet)
     {
         timeoutSet = false;
         connection.ClearCommandTimeout();
         connection = null;
     }
 }
Exemplo n.º 2
0
        public void Dispose()
        {
            if (!_timeoutSet)
            {
                return;
            }

            _timeoutSet = false;
            _connection.ClearCommandTimeout();
            _connection = null;
        }