httpappeventargs.cs

来自「破解的飞信源代码」· CS 代码 · 共 76 行

CS
76
字号
namespace Imps.Client.Core
{
    using System;
    using System.Net;

    public class HttpAppEventArgs : EventArgs
    {
        private int _errorCode;
        private string _errorMessage = string.Empty;
        private int _httpStautsCode;
        private string _responseBody = string.Empty;
        private System.Net.WebException wEx;

        public string ErrorMessage
        {
            get
            {
                return this._errorMessage;
            }
            set
            {
                this._errorMessage = value;
            }
        }

        public int HttpStautsCode
        {
            get
            {
                return this._httpStautsCode;
            }
            internal set
            {
                this._httpStautsCode = value;
            }
        }

        public int ProvisionErrorCode
        {
            get
            {
                return this._errorCode;
            }
            internal set
            {
                this._errorCode = value;
            }
        }

        public string ResponseBody
        {
            get
            {
                return this._responseBody;
            }
            set
            {
                this._responseBody = value;
            }
        }

        public System.Net.WebException WebException
        {
            get
            {
                return this.wEx;
            }
            set
            {
                this.wEx = value;
            }
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?