ChannelSettingsElement.LeaseTimeout Proprietà

Definizione

Ottiene o imposta l'intervallo di tempo trascorso il quale un oggetto verrà rimosso dalla cache.

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

Valore della proprietà

TimeSpan

Oggetto TimeSpan.

Attributi
TypeConverterAttribute ConfigurationPropertyAttribute ServiceModelTimeSpanValidatorAttribute

Si applica a