SiloPersistentStreamConfiguratorExtensions.ConfigureBackoffProvider 方法

定义

重载

ConfigureBackoffProvider(ISiloPersistentStreamConfigurator, Func<IServiceProvider,String,IMessageDeliveryBackoffProvider>)

配置拉取代理的消息传递回退提供程序。

ConfigureBackoffProvider(ISiloPersistentStreamConfigurator, Func<IServiceProvider,String,IQueueReaderBackoffProvider>)

配置拉取代理的队列读取器退避提供程序。

ConfigureBackoffProvider(ISiloPersistentStreamConfigurator, Func<IServiceProvider,String,IMessageDeliveryBackoffProvider>)

配置拉取代理的消息传递回退提供程序。

public static void ConfigureBackoffProvider (this Orleans.Hosting.ISiloPersistentStreamConfigurator configurator, Func<IServiceProvider,string,Orleans.Runtime.Providers.IMessageDeliveryBackoffProvider> factory);
static member ConfigureBackoffProvider : Orleans.Hosting.ISiloPersistentStreamConfigurator * Func<IServiceProvider, string, Orleans.Runtime.Providers.IMessageDeliveryBackoffProvider> -> unit
<Extension()>
Public Sub ConfigureBackoffProvider (configurator As ISiloPersistentStreamConfigurator, factory As Func(Of IServiceProvider, String, IMessageDeliveryBackoffProvider))

参数

configurator
ISiloPersistentStreamConfigurator

配置生成器。

factory
Func<IServiceProvider,String,IMessageDeliveryBackoffProvider>

消息传递回退工厂。

适用于

ConfigureBackoffProvider(ISiloPersistentStreamConfigurator, Func<IServiceProvider,String,IQueueReaderBackoffProvider>)

配置拉取代理的队列读取器退避提供程序。

public static void ConfigureBackoffProvider (this Orleans.Hosting.ISiloPersistentStreamConfigurator configurator, Func<IServiceProvider,string,Orleans.Runtime.Providers.IQueueReaderBackoffProvider> factory);
static member ConfigureBackoffProvider : Orleans.Hosting.ISiloPersistentStreamConfigurator * Func<IServiceProvider, string, Orleans.Runtime.Providers.IQueueReaderBackoffProvider> -> unit
<Extension()>
Public Sub ConfigureBackoffProvider (configurator As ISiloPersistentStreamConfigurator, factory As Func(Of IServiceProvider, String, IQueueReaderBackoffProvider))

参数

configurator
ISiloPersistentStreamConfigurator

配置生成器。

factory
Func<IServiceProvider,String,IQueueReaderBackoffProvider>

队列读取器退避工厂。

适用于