Share via


SocketConnectionPoolSettingsElement.LeaseTimeout Property

Definition

Gets or sets the time span after which an active connection is closed.

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

Property Value

Returns a TimeSpan that indicates the duration after which the TCP connection is closed.

Attributes

Applies to