SocketsHttpHandler.KeepAlivePingPolicy Property

Definition

Gets or sets the keep alive ping behaviour.

C#
public System.Net.Http.HttpKeepAlivePingPolicy KeepAlivePingPolicy { get; set; }

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

Produkt Versioner
.NET 5, 6, 7, 8, 9, 10