HubOptions.KeepAliveInterval 屬性

定義

取得或設定伺服器用來傳送持續運作 Ping 至連線用戶端的間隔。 預設間隔為 15 秒。

public:
 property Nullable<TimeSpan> KeepAliveInterval { Nullable<TimeSpan> get(); void set(Nullable<TimeSpan> value); };
public TimeSpan? KeepAliveInterval { get; set; }
member this.KeepAliveInterval : Nullable<TimeSpan> with get, set
Public Property KeepAliveInterval As Nullable(Of TimeSpan)

屬性值

適用於