Share via

Binding.CloseTimeout Property


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

 property TimeSpan CloseTimeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan CloseTimeout { get; set; }
member this.CloseTimeout : TimeSpan with get, set
Public Property CloseTimeout As TimeSpan

Property Value

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


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.

Applies to