ChannelPoolSettingsElement.LeaseTimeout 属性

定义

获取或设置在关闭活动连接之前所要经过的时间。 默认值为 00:05:00。

public:
 property TimeSpan LeaseTimeout { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("leaseTimeout", DefaultValue="00:10:00")]
public TimeSpan LeaseTimeout { get; set; }
[System.Configuration.ConfigurationProperty("leaseTimeout", DefaultValue="00:10:00")]
[System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))]
public TimeSpan LeaseTimeout { get; set; }
[System.Configuration.ConfigurationProperty("leaseTimeout", DefaultValue="00:10:00")]
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))]
public TimeSpan LeaseTimeout { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))>]
[<System.Configuration.ConfigurationProperty("leaseTimeout", DefaultValue="00:10:00")>]
member this.LeaseTimeout : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("leaseTimeout", DefaultValue="00:10:00")>]
[<System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))>]
member this.LeaseTimeout : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("leaseTimeout", DefaultValue="00:10:00")>]
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))>]
member this.LeaseTimeout : TimeSpan with get, set
Public Property LeaseTimeout As TimeSpan

属性值

一个 TimeSpan,指定在关闭活动连接之前所要经过的时间。 默认值为 00:05:00。

属性

适用于