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)

Syntax

Public Property ReceiveTimeout As TimeSpan
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

Exceptions

Exception Condition
ArgumentOutOfRangeException

The value is less than zero or too large.

Remarks

Timeout is not used in Windows Phone.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

Binding Class

System.ServiceModel.Channels Namespace