CosmosDbStorageOptions.ConnectionPolicyConfigurator CosmosDbStorageOptions.ConnectionPolicyConfigurator CosmosDbStorageOptions.ConnectionPolicyConfigurator Property


Gets or sets the connection policy configurator. This action allows you to customise the connection parameters.

public Action<Microsoft.Azure.Documents.Client.ConnectionPolicy> ConnectionPolicyConfigurator { get; set; }
member this.ConnectionPolicyConfigurator : Action<Microsoft.Azure.Documents.Client.ConnectionPolicy> with get, set
Public Property ConnectionPolicyConfigurator As Action(Of ConnectionPolicy)

Property Value

The connection policy configurator.


You can use this delegate to

        further customize the connection to CosmosDB,

        such as setting connection mode, retry options, timeouts, and so on.


        for more information.

Applies to