Microsoft.Http.HttpStageProcessingAsyncState.SetException C# (CSharp) Method

SetException() public method

public SetException ( Exception e ) : void
e System.Exception
return void
        public void SetException(Exception e)
        {
            Debug.Assert(this.exception == null);
            this.exception = e;
            if (this.response != null)
            {
                this.response.Dispose();
            }
            if (this.request != null)
            {
                this.request.Dispose();
            }
        }
    }