แก้ไข

แชร์ผ่าน


SocketsHttpHandler.KeepAlivePingPolicy Property

Definition

Gets or sets the keep alive ping behaviour.

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

Property Value

The keep alive ping behaviour.

Remarks

Keep alive pings are sent when a period of inactivity exceeds the configured KeepAlivePingDelay value.

Applies to