Skip to content

HostingExtensions.UseCosmosGatewayListProvider(IClientBuilder, Action<CosmosClusteringOptions>)

UseCosmosGatewayListProvider(IClientBuilder, Action<CosmosClusteringOptions>)

staticextension
View source
public static IClientBuilder UseCosmosGatewayListProvider(this IClientBuilder builder, Action<CosmosClusteringOptions> configureOptions)
Adds clustering backed by Azure Cosmos DB.

Parameters

builderIClientBuilder
The client builder.
configureOptionsAction<CosmosClusteringOptions>
The delegate used to configure the provider.

Returns

The provided builder.