Condividi tramite


NamedPipeConnectionPoolSettingsElement.IdleTimeout Proprietà

Definizione

Ottiene o imposta il periodo massimo di inattività della connessione prima che venga interrotta.

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

Valore della proprietà

Elemento TimeSpan positivo che specifica il periodo massimo di inattività della connessione prima che venga interrotta. L'impostazione predefinita è 00:02:00.

Attributi

Si applica a