Bagikan melalui


HubConnection.KeepAliveInterval Properti

Definisi

Mendapatkan atau mengatur interval di mana klien mengirim pesan 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

Nilai Properti

Keterangan

Mengirim pesan apa pun mengatur ulang timer ke awal interval.

Berlaku untuk