Share via


TcpConnectionPoolSettingsElement.IdleTimeout Propriété

Définition

Obtient ou définit la période maximale d'inactivité de la connexion au terme de laquelle la connexion est coupée.

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

Valeur de propriété

TimeSpan positif qui spécifie la période maximale d'inactivité de la connexion au terme de laquelle la connexion est coupée. La valeur par défaut est 00:02:00.

Attributs

S’applique à