Bagikan melalui


SocketsHttpHandler.KeepAlivePingPolicy Properti

Definisi

Mendapatkan atau mengatur perilaku ping tetap hidup.

public:
 property System::Net::Http::HttpKeepAlivePingPolicy KeepAlivePingPolicy { System::Net::Http::HttpKeepAlivePingPolicy get(); void set(System::Net::Http::HttpKeepAlivePingPolicy value); };
public System.Net.Http.HttpKeepAlivePingPolicy KeepAlivePingPolicy { get; set; }
member this.KeepAlivePingPolicy : System.Net.Http.HttpKeepAlivePingPolicy with get, set
Public Property KeepAlivePingPolicy As HttpKeepAlivePingPolicy

Nilai Properti

Perilaku ping tetap hidup.

Keterangan

Ping tetap hidup dikirim ketika periode tidak aktif melebihi nilai yang dikonfigurasi KeepAlivePingDelay .

Berlaku untuk