TimeoutManager.IdleConnection 屬性

定義

閒置連接的允許時間,以秒為單位。 預設計時器為 2 分鐘。

只有在連線上的第一個要求路由傳送至應用程式之後,才會強制執行此逾時。

使用 TimeSpan.Zero 表示應該使用系統預設值。

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

屬性值

適用於