你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
FabricTransportServiceRemotingProviderAttribute.KeepAliveTimeoutInSeconds 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置保持活动超时(以秒为单位)。 当客户端和服务通过负载均衡器连接时,如果客户端和服务处于空闲状态一段时间,则会关闭连接,则此设置非常有用。 如果配置了保持活动超时,则连接将通过按该间隔发送 ping 消息来保持活动状态。
public long KeepAliveTimeoutInSeconds { get; set; }
member this.KeepAliveTimeoutInSeconds : int64 with get, set
Public Property KeepAliveTimeoutInSeconds As Long
属性值
保持活动超时(以秒为单位)。