sipconnectionoption.cs

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

CS
41
字号
namespace Imps.Client.CommLayer.Common
{
    using System;

    [Serializable]
    internal abstract class SipConnectionOption
    {
        private int _SendFaildDelay = 3;
        private int _timeout = 90;

        public int SendFaildDelay
        {
            get
            {
                return this._SendFaildDelay;
            }
            set
            {
                this._SendFaildDelay = value;
            }
        }

        public int Timeout
        {
            get
            {
                return this._timeout;
            }
            set
            {
                if (value <= 0)
                {
                    throw new ArgumentException("不接收小于或等于零的超时时间");
                }
                this._timeout = value;
            }
        }
    }
}

⌨️ 快捷键说明

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