PollingDuplexBindingElement.InactivityTimeout Property
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Gets or sets the maximum interval of time that can pass without activity on a channel before the client channel enters a faulted state.
Namespace: System.ServiceModel.Channels
Assembly: System.ServiceModel.PollingDuplex (in System.ServiceModel.PollingDuplex.dll)
Syntax
'Declaration
Public Property InactivityTimeout As TimeSpan
public TimeSpan InactivityTimeout { get; set; }
Property Value
Type: System.TimeSpan
The TimeSpan object that specifies the maximum interval of time that can pass without activity on a channel before the client channel enters a faulted state.
Remarks
Activity in this context is defined as completed sends or messages being queued for receive.
If a channel has received a CloseSession message from the remote endpoint, the channel is in a half-closed state in which it can still send messages. As a consequence, if Send calls are the only remaining activity, the channel faults when an InactivityTimeout interval of time passes after the last Send call.
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.