SiloPersistentStreamConfiguratorExtensions.ConfigurePartitionBalancing Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
ConfigurePartitionBalancing(ISiloPersistentStreamConfigurator, Func<IServiceProvider,String,IStreamQueueBalancer>)
public static Orleans.Streams.ISiloPersistentStreamConfigurator ConfigurePartitionBalancing (this Orleans.Streams.ISiloPersistentStreamConfigurator configurator, Func<IServiceProvider,string,Orleans.Streams.IStreamQueueBalancer> factory);
static member ConfigurePartitionBalancing : Orleans.Streams.ISiloPersistentStreamConfigurator * Func<IServiceProvider, string, Orleans.Streams.IStreamQueueBalancer> -> Orleans.Streams.ISiloPersistentStreamConfigurator
<Extension()>
Public Function ConfigurePartitionBalancing (configurator As ISiloPersistentStreamConfigurator, factory As Func(Of IServiceProvider, String, IStreamQueueBalancer)) As ISiloPersistentStreamConfigurator
Parámetros
- configurator
- ISiloPersistentStreamConfigurator
- factory
- Func<IServiceProvider,String,IStreamQueueBalancer>
Devoluciones
Se aplica a
ConfigurePartitionBalancing<TOptions>(ISiloPersistentStreamConfigurator, Func<IServiceProvider,String,IStreamQueueBalancer>, Action<OptionsBuilder<TOptions>>)
public static Orleans.Streams.ISiloPersistentStreamConfigurator ConfigurePartitionBalancing<TOptions> (this Orleans.Streams.ISiloPersistentStreamConfigurator configurator, Func<IServiceProvider,string,Orleans.Streams.IStreamQueueBalancer> factory, Action<Microsoft.Extensions.Options.OptionsBuilder<TOptions>> configureOptions) where TOptions : class, new();
static member ConfigurePartitionBalancing : Orleans.Streams.ISiloPersistentStreamConfigurator * Func<IServiceProvider, string, Orleans.Streams.IStreamQueueBalancer> * Action<Microsoft.Extensions.Options.OptionsBuilder<'Options>> -> Orleans.Streams.ISiloPersistentStreamConfigurator (requires 'Options : null and 'Options : (new : unit -> 'Options))
<Extension()>
Public Function ConfigurePartitionBalancing(Of TOptions As {Class, New}) (configurator As ISiloPersistentStreamConfigurator, factory As Func(Of IServiceProvider, String, IStreamQueueBalancer), configureOptions As Action(Of OptionsBuilder(Of TOptions))) As ISiloPersistentStreamConfigurator
Parámetros de tipo
- TOptions
Parámetros
- configurator
- ISiloPersistentStreamConfigurator
- factory
- Func<IServiceProvider,String,IStreamQueueBalancer>
- configureOptions
- Action<OptionsBuilder<TOptions>>