SocketsHttpHandler.KeepAlivePingPolicy Propriété

Définition

Obtient ou définit le comportement ping continu.

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

Valeur de propriété

Le comportement ping en vie.

Exceptions

Une opération a déjà été démarrée sur l’instance actuelle.

L’instance actuelle a été supprimée.

Remarques

Conservez les pings actifs envoyés lorsqu’une période d’inactivité dépasse la valeur configurée KeepAlivePingDelay .

S’applique à