StandardBindingReliableSessionElement.InactivityTimeout 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 a TimeSpan value that specifies the maximum duration the channel allows the other communicating party not to send any messages before faulting the channel.
public:
property TimeSpan InactivityTimeout { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("inactivityTimeout", DefaultValue="00:10:00")]
public TimeSpan InactivityTimeout { get; set; }
[System.Configuration.ConfigurationProperty("inactivityTimeout", DefaultValue="00:10:00")]
[System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))]
public TimeSpan InactivityTimeout { get; set; }
[System.Configuration.ConfigurationProperty("inactivityTimeout", DefaultValue="00:10:00")]
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))]
public TimeSpan InactivityTimeout { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))>]
[<System.Configuration.ConfigurationProperty("inactivityTimeout", DefaultValue="00:10:00")>]
member this.InactivityTimeout : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("inactivityTimeout", DefaultValue="00:10:00")>]
[<System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))>]
member this.InactivityTimeout : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("inactivityTimeout", DefaultValue="00:10:00")>]
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))>]
member this.InactivityTimeout : TimeSpan with get, set
Public Property InactivityTimeout As TimeSpan
Property Value
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.
- Attributes
Remarks
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.