SendTimeout Property
Collapse the table of content
Expand the table of content

Binding.SendTimeout 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 provided for a write operation to complete before the transport raises an exception.

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

public TimeSpan SendTimeout { get; set; }

Property Value

Type: System.TimeSpan
The TimeSpan that specifies how long the write operation has to complete before timing out. The default value is 1 minute.

Implements

IDefaultCommunicationTimeouts.SendTimeout

ExceptionCondition
ArgumentOutOfRangeException

The value is less than zero or too large.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft