ReceiveTimeout Property
Collapse the table of content
Expand the table of content

Binding.ReceiveTimeout Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the interval of time that a connection can remain inactive, during which no application messages are received, before it is dropped.

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

'Declaration
Public Property ReceiveTimeout As TimeSpan

Property Value

Type: System.TimeSpan
The TimeSpan that specifies how long the application has to receive a message before timing out. The default value is 10 minute.

Implements

IDefaultCommunicationTimeouts.ReceiveTimeout

ExceptionCondition
ArgumentOutOfRangeException

The value is less than zero or too large.

Timeout is not used in Windows Phone.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft