次の方法で共有


TcpConnectionPoolSettingsElement.LeaseTimeout プロパティ

定義

アクティブな接続が終了されるまでの期間を取得または設定します。

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

プロパティ値

TCP 接続が終了されるまでの期間を指定する TimeSpan 構造体。

属性

注釈

接続は、接続キャッシュに返された後、アクティブに転送中ではないときに終了します。 TCP トランスポートによって使用される接続キャッシュは、各エンドポイントでの必要に応じて、MaxOutboundConnectionsPerEndpoint で設定されているキャッシュ制限内で、新しい接続を作成します。

適用対象