HubConnectionContextOptions.KeepAliveInterval 属性

定义

获取或设置用于向连接的客户端发送保持活动状态 ping 的间隔。

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

属性值

适用于