WebSocketOptions.KeepAliveInterval Property     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The interval to send keep-alive frames. This is a heart-beat that keeps the connection alive. The default is two minutes.
public:
 property TimeSpan KeepAliveInterval { TimeSpan get(); void set(TimeSpan value); };public TimeSpan KeepAliveInterval { get; set; }member this.KeepAliveInterval : TimeSpan with get, setPublic Property KeepAliveInterval As TimeSpanProperty Value
Remarks
May be either a Ping or a Pong frame, depending on if KeepAliveTimeout is set.