Aracılığıyla paylaş


TcpConnectionPoolSettingsElement.LeaseTimeout Özellik

Tanım

Etkin bir bağlantının kapatılan zaman dilimini alır veya ayarlar.

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

Özellik Değeri

TimeSpan

TimeSpanTCP bağlantısının kapatılacak süreyi belirten bir yapı.

Öznitelikler

Açıklamalar

Bağlantı, etkin iletim sırasında değil bağlantı önbelleğine döndürüldikten sonra kapatılır. TCP taşıması tarafından kullanılan bağlantı önbelleği, tarafından ayarlanmış önbellek sınırına kadar her uç nokta için gerektiğinde yeni bağlantılar MaxOutboundConnectionsPerEndpoint oluşturur.

Şunlara uygulanır