LegacyClusterConfigurationExtensions.UseConfiguration 方法

定义

重载

UseConfiguration(ISiloBuilder, ClusterConfiguration)

指定要用于此接收器的配置。

UseConfiguration(ISiloHostBuilder, ClusterConfiguration)

指定要用于此接收器的配置。

UseConfiguration(ISiloBuilder, ClusterConfiguration)

指定要用于此接收器的配置。

public static Orleans.Hosting.ISiloBuilder UseConfiguration (this Orleans.Hosting.ISiloBuilder builder, Orleans.Runtime.Configuration.ClusterConfiguration configuration);
static member UseConfiguration : Orleans.Hosting.ISiloBuilder * Orleans.Runtime.Configuration.ClusterConfiguration -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseConfiguration (builder As ISiloBuilder, configuration As ClusterConfiguration) As ISiloBuilder

参数

builder
ISiloBuilder

主机生成器。

configuration
ClusterConfiguration

配置。

返回

孤岛生成器。

注解

此方法只能为每个生成器实例调用一次。

适用于

UseConfiguration(ISiloHostBuilder, ClusterConfiguration)

指定要用于此接收器的配置。

public static Orleans.Hosting.ISiloHostBuilder UseConfiguration (this Orleans.Hosting.ISiloHostBuilder builder, Orleans.Runtime.Configuration.ClusterConfiguration configuration);
static member UseConfiguration : Orleans.Hosting.ISiloHostBuilder * Orleans.Runtime.Configuration.ClusterConfiguration -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function UseConfiguration (builder As ISiloHostBuilder, configuration As ClusterConfiguration) As ISiloHostBuilder

参数

builder
ISiloHostBuilder

主机生成器。

configuration
ClusterConfiguration

配置。

返回

孤岛生成器。

注解

此方法只能为每个生成器实例调用一次。

适用于