SocketConnectionPoolSettingsElement.LeaseTimeout Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET