SocketsHttpHandler.KeepAlivePingPolicy 属性      
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置保持活动状态 ping 行为。
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, setPublic Property KeepAlivePingPolicy As HttpKeepAlivePingPolicy属性值
保持活着的 ping 行为。
注解
当处于非活动状态的时间段超过配置 KeepAlivePingDelay 的值时,将发送保持活动状态 ping。