編輯

共用方式為


Binding.OpenTimeout Property

Definition

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

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

Property Value

The TimeSpan that specifies how long the open 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