Binding.ReceiveTimeout Property

July 28, 2014

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)

public TimeSpan ReceiveTimeout { get; set; }

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:
© 2014 Microsoft