Binding.SendTimeout Property

 

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.

Exception Condition
ArgumentOutOfRangeException

The value is less than zero or too large.

If transaction flow is enabled on the binding or the channel, the operation may take longer to execute than the specified timeout. In these circumstances the operation fails due to the expired timeout and the transaction aborts appropriately.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: