ChannelPoolSettingsElement.IdleTimeout Свойство

Определение

Возвращает или задает максимальное время, в течение которого подключение может простаивать перед отключением.

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

Значение свойства

Положительное значение TimeSpan, указывающее максимальное время бездействия для подключения перед его закрытием. Значение по умолчанию - 00:02:00.

Атрибуты

Применяется к