Binding.CloseTimeout Property
.NET Framework 4
Gets or sets the interval of time provided for a connection to close before the transport raises an exception.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Property Value
Type: System.TimeSpanThe Timespan that specifies how long the close operation has to complete before timing out. The default value is 1 minute.
Implements
IDefaultCommunicationTimeouts.CloseTimeout| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException |
The value is less than zero or too large. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.