共用方式為


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

組態。

傳回

定址接收器產生器。

備註

這個方法只能針對每個產生器實例呼叫一次。

適用於