SocketsHttpHandler.KeepAlivePingPolicy Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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 .