Share via


WebSocketCreationOptions.KeepAliveInterval 属性

定义

要使用的保持连接间隔,或 ZeroInfiniteTimeSpan 禁用保持连接。 默认值为 Zero

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

属性值

适用于