WebSocketCreationOptions.KeepAliveTimeout 属性      
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
等待对等方 PONG 以响应我们发送 PING 时使用的超时;或 Zero 或 InfiniteTimeSpan 禁用等待对等方响应,并改用未经请求的 PONG 作为 Keep-Alive 检测信号。
默认值为 InfiniteTimeSpan。
public:
 property TimeSpan KeepAliveTimeout { TimeSpan get(); void set(TimeSpan value); };public TimeSpan KeepAliveTimeout { get; set; }member this.KeepAliveTimeout : TimeSpan with get, setPublic Property KeepAliveTimeout As TimeSpan