Binding::OpenTimeout Property
.NET Framework (current version)
Gets or sets the interval of time provided for a connection to open before the transport raises an exception.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: property TimeSpan OpenTimeout { virtual TimeSpan get() sealed; virtual void set(TimeSpan value) sealed; }
Property Value
Type: System::TimeSpanThe TimeSpan that specifies how long the open 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. |
The value of this property is used by the channels and listeners produced by the factories of the binding.
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: