ClientBuilderExtensions.UseStaticClustering 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
UseStaticClustering(IClientBuilder, IPEndPoint[])
將用戶端設定為使用靜態叢集。
public static Orleans.Hosting.IClientBuilder UseStaticClustering (this Orleans.Hosting.IClientBuilder builder, params System.Net.IPEndPoint[] endpoints);
static member UseStaticClustering : Orleans.Hosting.IClientBuilder * System.Net.IPEndPoint[] -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function UseStaticClustering (builder As IClientBuilder, ParamArray endpoints As IPEndPoint()) As IClientBuilder
參數
- builder
- IClientBuilder
用戶端產生器。
- endpoints
- IPEndPoint[]
閘道端點。
傳回
適用於
UseStaticClustering(IClientBuilder, Action<OptionsBuilder<StaticGatewayListProviderOptions>>)
將用戶端設定為使用靜態叢集。
public static Orleans.Hosting.IClientBuilder UseStaticClustering (this Orleans.Hosting.IClientBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.StaticGatewayListProviderOptions>> configureOptions);
static member UseStaticClustering : Orleans.Hosting.IClientBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.StaticGatewayListProviderOptions>> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function UseStaticClustering (builder As IClientBuilder, configureOptions As Action(Of OptionsBuilder(Of StaticGatewayListProviderOptions))) As IClientBuilder
參數
- builder
- IClientBuilder
用戶端產生器。
- configureOptions
- Action<OptionsBuilder<StaticGatewayListProviderOptions>>
設定 [選項]。
傳回
適用於
UseStaticClustering(IClientBuilder, Action<StaticGatewayListProviderOptions>)
將用戶端設定為使用靜態叢集。
public static Orleans.Hosting.IClientBuilder UseStaticClustering (this Orleans.Hosting.IClientBuilder builder, Action<Orleans.Configuration.StaticGatewayListProviderOptions> configureOptions);
static member UseStaticClustering : Orleans.Hosting.IClientBuilder * Action<Orleans.Configuration.StaticGatewayListProviderOptions> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function UseStaticClustering (builder As IClientBuilder, configureOptions As Action(Of StaticGatewayListProviderOptions)) As IClientBuilder
參數
- builder
- IClientBuilder
用戶端產生器。
- configureOptions
- Action<StaticGatewayListProviderOptions>
設定 [選項]。