Binding.OpenTimeout 屬性

定義

取得或設定針對連線所提供的時間間隔 (此連線要在傳輸引發例外狀況之前開啟)。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

屬性值

TimeSpan

TimeSpan,指定開啟作業必須在結束之前完成的時間。預設值為1分鐘。The TimeSpan that specifies how long the open 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.

適用於