System.Net.ConnectionPool.CancelErrorCallback C# (CSharp) Method

CancelErrorCallback() private method

Called on error, after we waited a set amount of time from aborting

private CancelErrorCallback ( ) : void
return void
        private void CancelErrorCallback()
        {
            TimerThread.Timer timer = m_ErrorTimer;
            if (timer != null && timer.Cancel())
            {
                m_ErrorOccured = false;
                ErrorEvent.Reset();
                m_ErrorTimer = null;
                m_ResError = null;
            }
        }