SiloEventHubStreamConfiguratorExtensions.ConfigureCheckpointer<TOptions> 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public static void ConfigureCheckpointer<TOptions> (this Orleans.Hosting.ISiloEventHubStreamConfigurator configurator, Func<IServiceProvider,string,Orleans.Streams.IStreamQueueCheckpointerFactory> checkpointerFactoryBuilder, Action<Microsoft.Extensions.Options.OptionsBuilder<TOptions>> configureOptions) where TOptions : class, new();
static member ConfigureCheckpointer : Orleans.Hosting.ISiloEventHubStreamConfigurator * Func<IServiceProvider, string, Orleans.Streams.IStreamQueueCheckpointerFactory> * Action<Microsoft.Extensions.Options.OptionsBuilder<'Options>> -> unit (requires 'Options : null and 'Options : (new : unit -> 'Options))
<Extension()>
Public Sub ConfigureCheckpointer(Of TOptions As {Class, New}) (configurator As ISiloEventHubStreamConfigurator, checkpointerFactoryBuilder As Func(Of IServiceProvider, String, IStreamQueueCheckpointerFactory), configureOptions As Action(Of OptionsBuilder(Of TOptions)))
类型参数
- TOptions
参数
- configurator
- ISiloEventHubStreamConfigurator
- checkpointerFactoryBuilder
- Func<IServiceProvider,String,IStreamQueueCheckpointerFactory>
- configureOptions
- Action<OptionsBuilder<TOptions>>