TcpConnectionPoolSettingsElement.LeaseTimeout Vlastnost

Definice

Získá nebo nastaví časový rozsah, po kterém je aktivní připojení uzavřeno.

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

Hodnota vlastnosti

TimeSpan

Struktura, TimeSpan která označuje dobu trvání, po které je připojení TCP uzavřeno.

Atributy

Poznámky

Připojení se po vrácení do mezipaměti připojení zavře, a ne během aktivního přenosu. Mezipaměť připojení používaná přenosem TCP vytváří nová připojení podle potřeby pro každý koncový bod až do limitu mezipaměti nastaveného pomocí MaxOutboundConnectionsPerEndpoint .

Platí pro