共用方式為


HubConnectionContextOptions.KeepAliveInterval 屬性

定義

取得或設定用來將保持運作 Ping 傳送至連線用戶端的間隔。

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

屬性值

適用於