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

Abort() private method

private Abort ( ) : void
return void
        internal void Abort() {
            if (m_ResError == null) {
                m_ResError = new WebException(
                        NetRes.GetWebStatusString("net_requestaborted", WebExceptionStatus.RequestCanceled),
                        WebExceptionStatus.RequestCanceled);
            }
            ErrorEvent.Set();
            m_ErrorOccured = true;
            m_ErrorTimer = s_CancelErrorQueue.CreateTimer(s_CancelErrorCallback, this);
        }