CosmosDbStorageOptions.ConnectionPolicyConfigurator CosmosDbStorageOptions.ConnectionPolicyConfigurator CosmosDbStorageOptions.ConnectionPolicyConfigurator Property

Definition

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.

Remarks

You can use this delegate to

        further customize the connection to CosmosDB,

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

        See https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.documents.client.connectionpolicy?view=azure-dotnet

        for more information.

Applies to