Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CosmosClientOptions.EnableTcpConnectionEndpointRediscovery 属性

定义

获取或设置在 TCP 连接重置通知上启用地址缓存刷新的标志。

public bool EnableTcpConnectionEndpointRediscovery { get; set; }
member this.EnableTcpConnectionEndpointRediscovery : bool with get, set
Public Property EnableTcpConnectionEndpointRediscovery As Boolean

属性值

默认值为 true

注解

如果使用 Gateway ,则不适用。

适用于