private void CheckAbort() { if (Volatile.Read(ref _abortCalled) == 1) { throw new WebException(SR.net_reqaborted, WebExceptionStatus.RequestCanceled); } }