SiloPersistentStreamConfigurator 构造函数

定义

初始化 SiloPersistentStreamConfigurator 类的新实例。

public SiloPersistentStreamConfigurator (string name, Action<Action<Microsoft.Extensions.DependencyInjection.IServiceCollection>> configureDelegate, Func<IServiceProvider,string,Orleans.Streams.IQueueAdapterFactory> adapterFactory);
new Orleans.Hosting.SiloPersistentStreamConfigurator : string * Action<Action<Microsoft.Extensions.DependencyInjection.IServiceCollection>> * Func<IServiceProvider, string, Orleans.Streams.IQueueAdapterFactory> -> Orleans.Hosting.SiloPersistentStreamConfigurator
Public Sub New (name As String, configureDelegate As Action(Of Action(Of IServiceCollection)), adapterFactory As Func(Of IServiceProvider, String, IQueueAdapterFactory))

参数

name
String

流提供程序名称。

configureDelegate
Action<Action<IServiceCollection>>

配置委托。

adapterFactory
Func<IServiceProvider,String,IQueueAdapterFactory>

适配器工厂。

适用于