Binding.CloseTimeout Property

July 28, 2014

Gets or sets the interval of time provided for a connection to close before the transport raises an exception.

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

public TimeSpan CloseTimeout { get; set; }

Property Value

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

Implements

IDefaultCommunicationTimeouts.CloseTimeout

ExceptionCondition
ArgumentOutOfRangeException

The value is less than zero or too large.

The value of this property is used by the channels and produced by the factories of the binding.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft