Condividi tramite


ChannelSettingsElement.IdleTimeout Proprietà

Definizione

Ottiene o imposta l'intervallo di tempo massimo per il quale l'oggetto può rimanere inattivo nella cache prima di essere eliminato.

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

Valore della proprietà

Oggetto TimeSpan.

Attributi

Si applica a