Binding::SendTimeout Property
.NET Framework (current version)
Gets or sets the interval of time provided for a write operation to complete before the transport raises an exception.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: property TimeSpan SendTimeout { virtual TimeSpan get() sealed; virtual void set(TimeSpan value) sealed; }
Property Value
Type: System::TimeSpanThe 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
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
Show: