AdoNetHostingExtensions.UseAdoNetClustering 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
UseAdoNetClustering(IClientBuilder, Action<OptionsBuilder<AdoNetClusteringClientOptions>>)
- Source:
- AdoNetHostingExtensions.cs
- Source:
- AdoNetHostingExtensions.cs
- Source:
- AdoNetHostingExtensions.cs
- Source:
- AdoNetHostingExtensions.cs
将此客户端配置为使用 ADO.NET 进行群集。 有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts。
public static Orleans.Hosting.IClientBuilder UseAdoNetClustering (this Orleans.Hosting.IClientBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.AdoNetClusteringClientOptions>> configureOptions);
static member UseAdoNetClustering : Orleans.Hosting.IClientBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.AdoNetClusteringClientOptions>> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function UseAdoNetClustering (builder As IClientBuilder, configureOptions As Action(Of OptionsBuilder(Of AdoNetClusteringClientOptions))) As IClientBuilder
参数
- builder
- IClientBuilder
生成器。
- configureOptions
- Action<OptionsBuilder<AdoNetClusteringClientOptions>>
配置委托。
返回
提供的 IClientBuilder。
注解
有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts。
适用于
UseAdoNetClustering(IClientBuilder, Action<AdoNetClusteringClientOptions>)
- Source:
- AdoNetHostingExtensions.cs
- Source:
- AdoNetHostingExtensions.cs
- Source:
- AdoNetHostingExtensions.cs
- Source:
- AdoNetHostingExtensions.cs
将此客户端配置为使用 ADO.NET 进行群集。 有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts。
public static Orleans.Hosting.IClientBuilder UseAdoNetClustering (this Orleans.Hosting.IClientBuilder builder, Action<Orleans.Configuration.AdoNetClusteringClientOptions> configureOptions);
static member UseAdoNetClustering : Orleans.Hosting.IClientBuilder * Action<Orleans.Configuration.AdoNetClusteringClientOptions> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function UseAdoNetClustering (builder As IClientBuilder, configureOptions As Action(Of AdoNetClusteringClientOptions)) As IClientBuilder
参数
- builder
- IClientBuilder
生成器。
- configureOptions
- Action<AdoNetClusteringClientOptions>
配置委托。
返回
提供的 IClientBuilder。
注解
有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts。
适用于
UseAdoNetClustering(ISiloBuilder, Action<OptionsBuilder<AdoNetClusteringSiloOptions>>)
- Source:
- AdoNetHostingExtensions.cs
- Source:
- AdoNetHostingExtensions.cs
- Source:
- AdoNetHostingExtensions.cs
- Source:
- AdoNetHostingExtensions.cs
- Source:
- AdoNetHostingExtensions.cs
配置此 silo 以使用 ADO.NET 进行群集。 有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts。
public static Orleans.Hosting.ISiloBuilder UseAdoNetClustering (this Orleans.Hosting.ISiloBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.AdoNetClusteringSiloOptions>> configureOptions);
static member UseAdoNetClustering : Orleans.Hosting.ISiloBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.AdoNetClusteringSiloOptions>> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseAdoNetClustering (builder As ISiloBuilder, configureOptions As Action(Of OptionsBuilder(Of AdoNetClusteringSiloOptions))) As ISiloBuilder
参数
- builder
- ISiloBuilder
生成器。
- configureOptions
- Action<OptionsBuilder<AdoNetClusteringSiloOptions>>
配置委托。
返回
提供的 ISiloBuilder。
注解
有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts。
适用于
UseAdoNetClustering(ISiloBuilder, Action<AdoNetClusteringSiloOptions>)
- Source:
- AdoNetHostingExtensions.cs
- Source:
- AdoNetHostingExtensions.cs
- Source:
- AdoNetHostingExtensions.cs
- Source:
- AdoNetHostingExtensions.cs
- Source:
- AdoNetHostingExtensions.cs
配置此 silo 以使用 ADO.NET 进行群集。 有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts。
public static Orleans.Hosting.ISiloBuilder UseAdoNetClustering (this Orleans.Hosting.ISiloBuilder builder, Action<Orleans.Configuration.AdoNetClusteringSiloOptions> configureOptions);
static member UseAdoNetClustering : Orleans.Hosting.ISiloBuilder * Action<Orleans.Configuration.AdoNetClusteringSiloOptions> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseAdoNetClustering (builder As ISiloBuilder, configureOptions As Action(Of AdoNetClusteringSiloOptions)) As ISiloBuilder
参数
- builder
- ISiloBuilder
生成器。
- configureOptions
- Action<AdoNetClusteringSiloOptions>
配置委托。
返回
提供的 ISiloBuilder。
注解
有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts。
适用于
UseAdoNetClustering(ISiloHostBuilder, Action<OptionsBuilder<AdoNetClusteringSiloOptions>>)
- Source:
- AdoNetHostingExtensions.cs
配置此 silo 以使用 ADO.NET 进行群集。 有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts。
public static Orleans.Hosting.ISiloHostBuilder UseAdoNetClustering (this Orleans.Hosting.ISiloHostBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.AdoNetClusteringSiloOptions>> configureOptions);
static member UseAdoNetClustering : Orleans.Hosting.ISiloHostBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.AdoNetClusteringSiloOptions>> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function UseAdoNetClustering (builder As ISiloHostBuilder, configureOptions As Action(Of OptionsBuilder(Of AdoNetClusteringSiloOptions))) As ISiloHostBuilder
参数
- builder
- ISiloHostBuilder
生成器。
- configureOptions
- Action<OptionsBuilder<AdoNetClusteringSiloOptions>>
配置委托。
返回
提供的 ISiloHostBuilder。
注解
有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts。
适用于
UseAdoNetClustering(ISiloHostBuilder, Action<AdoNetClusteringSiloOptions>)
- Source:
- AdoNetHostingExtensions.cs
配置此 silo 以使用 ADO.NET 进行群集。 有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts。
public static Orleans.Hosting.ISiloHostBuilder UseAdoNetClustering (this Orleans.Hosting.ISiloHostBuilder builder, Action<Orleans.Configuration.AdoNetClusteringSiloOptions> configureOptions);
static member UseAdoNetClustering : Orleans.Hosting.ISiloHostBuilder * Action<Orleans.Configuration.AdoNetClusteringSiloOptions> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function UseAdoNetClustering (builder As ISiloHostBuilder, configureOptions As Action(Of AdoNetClusteringSiloOptions)) As ISiloHostBuilder
参数
- builder
- ISiloHostBuilder
生成器。
- configureOptions
- Action<AdoNetClusteringSiloOptions>
配置委托。
返回
提供的 ISiloHostBuilder。
注解
有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts。
适用于
UseAdoNetClustering(IClientBuilder, Action<OptionsBuilder<AdoNetClusteringClientOptions>>)
- Source:
- AdoNetHostingExtensions.cs
将此客户端配置为使用 ADO.NET 进行群集。 有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts。
public static Orleans.IClientBuilder UseAdoNetClustering (this Orleans.IClientBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.AdoNetClusteringClientOptions>> configureOptions);
static member UseAdoNetClustering : Orleans.IClientBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.AdoNetClusteringClientOptions>> -> Orleans.IClientBuilder
<Extension()>
Public Function UseAdoNetClustering (builder As IClientBuilder, configureOptions As Action(Of OptionsBuilder(Of AdoNetClusteringClientOptions))) As IClientBuilder
参数
- builder
- IClientBuilder
生成器。
- configureOptions
- Action<OptionsBuilder<AdoNetClusteringClientOptions>>
配置委托。
返回
提供的 IClientBuilder。
注解
有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts。
适用于
UseAdoNetClustering(IClientBuilder, Action<AdoNetClusteringClientOptions>)
- Source:
- AdoNetHostingExtensions.cs
将此客户端配置为使用 ADO.NET 进行群集。 有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts。
public static Orleans.IClientBuilder UseAdoNetClustering (this Orleans.IClientBuilder builder, Action<Orleans.Configuration.AdoNetClusteringClientOptions> configureOptions);
static member UseAdoNetClustering : Orleans.IClientBuilder * Action<Orleans.Configuration.AdoNetClusteringClientOptions> -> Orleans.IClientBuilder
<Extension()>
Public Function UseAdoNetClustering (builder As IClientBuilder, configureOptions As Action(Of AdoNetClusteringClientOptions)) As IClientBuilder
参数
- builder
- IClientBuilder
生成器。
- configureOptions
- Action<AdoNetClusteringClientOptions>
配置委托。
返回
提供的 IClientBuilder。
注解
有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts。