HostingExtensions.UseCosmosGatewayListProvider Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UseCosmosGatewayListProvider(IClientBuilder) |
Adds clustering backed by Azure Cosmos DB. |
UseCosmosGatewayListProvider(IServiceCollection, Action<OptionsBuilder<CosmosClusteringOptions>>) |
Adds clustering backed by Azure Cosmos DB. |
UseCosmosGatewayListProvider(IServiceCollection, Action<CosmosClusteringOptions>) |
Adds clustering backed by Azure Cosmos DB. |
UseCosmosGatewayListProvider(IClientBuilder, Action<OptionsBuilder<CosmosClusteringOptions>>) |
Adds clustering backed by Azure Cosmos DB. |
UseCosmosGatewayListProvider(IClientBuilder, Action<CosmosClusteringOptions>) |
Adds clustering backed by Azure Cosmos DB. |
UseCosmosGatewayListProvider(IClientBuilder)
- Source:
- HostingExtensions.cs
- Source:
- HostingExtensions.cs
Adds clustering backed by Azure Cosmos DB.
public static Orleans.Hosting.IClientBuilder UseCosmosGatewayListProvider(this Orleans.Hosting.IClientBuilder builder);
static member UseCosmosGatewayListProvider : Orleans.Hosting.IClientBuilder -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function UseCosmosGatewayListProvider (builder As IClientBuilder) As IClientBuilder
Parameters
- builder
- IClientBuilder
The client builder.
Returns
The provided builder
.
Applies to
UseCosmosGatewayListProvider(IServiceCollection, Action<OptionsBuilder<CosmosClusteringOptions>>)
- Source:
- HostingExtensions.cs
- Source:
- HostingExtensions.cs
Adds clustering backed by Azure Cosmos DB.
public static Microsoft.Extensions.DependencyInjection.IServiceCollection UseCosmosGatewayListProvider(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Clustering.Cosmos.CosmosClusteringOptions>> configureOptions);
static member UseCosmosGatewayListProvider : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Clustering.Cosmos.CosmosClusteringOptions>> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function UseCosmosGatewayListProvider (services As IServiceCollection, configureOptions As Action(Of OptionsBuilder(Of CosmosClusteringOptions))) As IServiceCollection
Parameters
- services
- IServiceCollection
The service collection.
- configureOptions
- Action<OptionsBuilder<CosmosClusteringOptions>>
The delegate used to configure the provider.
Returns
The provided services
.
Applies to
UseCosmosGatewayListProvider(IServiceCollection, Action<CosmosClusteringOptions>)
- Source:
- HostingExtensions.cs
- Source:
- HostingExtensions.cs
Adds clustering backed by Azure Cosmos DB.
public static Microsoft.Extensions.DependencyInjection.IServiceCollection UseCosmosGatewayListProvider(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Orleans.Clustering.Cosmos.CosmosClusteringOptions> configureOptions);
static member UseCosmosGatewayListProvider : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Orleans.Clustering.Cosmos.CosmosClusteringOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function UseCosmosGatewayListProvider (services As IServiceCollection, configureOptions As Action(Of CosmosClusteringOptions)) As IServiceCollection
Parameters
- services
- IServiceCollection
The service collection.
- configureOptions
- Action<CosmosClusteringOptions>
The delegate used to configure the provider.
Returns
The provided services
.
Applies to
UseCosmosGatewayListProvider(IClientBuilder, Action<OptionsBuilder<CosmosClusteringOptions>>)
- Source:
- HostingExtensions.cs
- Source:
- HostingExtensions.cs
Adds clustering backed by Azure Cosmos DB.
public static Orleans.Hosting.IClientBuilder UseCosmosGatewayListProvider(this Orleans.Hosting.IClientBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Clustering.Cosmos.CosmosClusteringOptions>> configureOptions);
static member UseCosmosGatewayListProvider : Orleans.Hosting.IClientBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Clustering.Cosmos.CosmosClusteringOptions>> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function UseCosmosGatewayListProvider (builder As IClientBuilder, configureOptions As Action(Of OptionsBuilder(Of CosmosClusteringOptions))) As IClientBuilder
Parameters
- builder
- IClientBuilder
The client builder.
- configureOptions
- Action<OptionsBuilder<CosmosClusteringOptions>>
The delegate used to configure the provider.
Returns
The provided builder
.
Applies to
UseCosmosGatewayListProvider(IClientBuilder, Action<CosmosClusteringOptions>)
- Source:
- HostingExtensions.cs
- Source:
- HostingExtensions.cs
Adds clustering backed by Azure Cosmos DB.
public static Orleans.Hosting.IClientBuilder UseCosmosGatewayListProvider(this Orleans.Hosting.IClientBuilder builder, Action<Orleans.Clustering.Cosmos.CosmosClusteringOptions> configureOptions);
static member UseCosmosGatewayListProvider : Orleans.Hosting.IClientBuilder * Action<Orleans.Clustering.Cosmos.CosmosClusteringOptions> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function UseCosmosGatewayListProvider (builder As IClientBuilder, configureOptions As Action(Of CosmosClusteringOptions)) As IClientBuilder
Parameters
- builder
- IClientBuilder
The client builder.
- configureOptions
- Action<CosmosClusteringOptions>
The delegate used to configure the provider.
Returns
The provided builder
.