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, set
	Public Property KeepAliveInterval As TimeSpan
	Property Value
Remarks
May be either a Ping or a Pong frame, depending on if KeepAliveTimeout is set.