Share via


ChannelSettingsElement.IdleTimeout Propriété

Définition

Obtient ou définit l’intervalle de temps maximal pendant lequel l’objet peut rester inactif dans le cache avant d’être supprimé.

public:
 property TimeSpan IdleTimeout { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.Runtime.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.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))]
public TimeSpan IdleTimeout { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Runtime.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.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))>]
member this.IdleTimeout : TimeSpan with get, set
Public Property IdleTimeout As TimeSpan

Valeur de propriété

Objet d'intervalle de temps.

Attributs

S’applique à