SiloPersistentStreamConfigurator 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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>
适配器工厂。