Export (0) Print
Expand All

StandardBindingReliableSessionElement.InactivityTimeout Property

Gets or sets a TimeSpan value that specifies the maximum duration the channel allows the other communicating party not to send any messages before faulting the channel.

Namespace:  System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

[ConfigurationPropertyAttribute("inactivityTimeout", DefaultValue = "00:10:00")]
public TimeSpan InactivityTimeout { get; set; }

Property Value

Type: System.TimeSpan
A TimeSpan value that specifies the maximum duration the channel allows the other communicating party not to send any messages before faulting the channel. The default is 00:10:00.

Activity on a channel is defined as receiving an application or infrastructure message. This property controls the maximum amount of time to keep an inactive session alive. If there is a longer time with no activity, the session is terminated by the infrastructure and the channel faults.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft