ServiceHostBase.OpenTimeout 属性
定义
获取或设置允许服务主机打开的时间间隔。Gets or sets the interval of time allowed for the service host to open.
public:
property TimeSpan OpenTimeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan OpenTimeout { get; set; }
member this.OpenTimeout : TimeSpan with get, set
Public Property OpenTimeout As TimeSpan
属性值
TimeSpan,指定允许服务主机打开的时间间隔。The TimeSpan that specifies the interval of time allowed for the service host to open.
例外
值小于零或大于 MaxValue(2,147,483,647 或以十六进制表示的 0X7FFFFFFF)。The value is less than zero or is larger than MaxValue (2,147,483,647 or, in hexadecimal notation, 0X7FFFFFFF).