Editar

Partilhar via


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.

Exceptions

An operation has already been started on the current instance.

The current instance has been disposed.

Remarks

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

Applies to