Share via


CosmosClientOptions.EnableTcpConnectionEndpointRediscovery Property

Definition

Gets or sets the flag to enable address cache refresh on TCP connection reset notification.

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

Property Value

The default value is true

Remarks

Does not apply if Gateway is used.

Applies to