Editar

Compartilhar via


Binding.CloseTimeout Property

Definition

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

public:
 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.

Exceptions

The value is less than zero or too large.

Remarks

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

Applies to