Udostępnij za pośrednictwem


PollingDuplexBindingElement.ClientPollTimeout Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

The interval of time that a client polling request has to complete before timing out.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel.PollingDuplex (in System.ServiceModel.PollingDuplex.dll)

Syntax

'Declaration
Public Property ClientPollTimeout As TimeSpan
public TimeSpan ClientPollTimeout { get; set; }

Property Value

Type: System.TimeSpan
The default Timespan that specifies how long a request has to complete before timing out.

Remarks

On the service channel, the interval of time on the service channel that the service holds each poll request before returning an empty response to the caller. On the client channel, the interval of time that a Make Connection request is allowed to take before timing out.

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.