ClearCommandTimeout() private method

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

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