StreamHostingExtensions.AddPersistentStreams 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AddPersistentStreams(ISiloBuilder, String, Func<IServiceProvider,String,IQueueAdapterFactory>, Action<ISiloPersistentStreamConfigurator>)
- Source:
- StreamHostingExtensions.cs
将接收器配置为使用永久性流。
public static Orleans.Hosting.ISiloBuilder AddPersistentStreams (this Orleans.Hosting.ISiloBuilder builder, string name, Func<IServiceProvider,string,Orleans.Streams.IQueueAdapterFactory> adapterFactory, Action<Orleans.Hosting.ISiloPersistentStreamConfigurator> configureStream);
static member AddPersistentStreams : Orleans.Hosting.ISiloBuilder * string * Func<IServiceProvider, string, Orleans.Streams.IQueueAdapterFactory> * Action<Orleans.Hosting.ISiloPersistentStreamConfigurator> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddPersistentStreams (builder As ISiloBuilder, name As String, adapterFactory As Func(Of IServiceProvider, String, IQueueAdapterFactory), configureStream As Action(Of ISiloPersistentStreamConfigurator)) As ISiloBuilder
参数
- builder
- ISiloBuilder
- name
- String
- adapterFactory
- Func<IServiceProvider,String,IQueueAdapterFactory>
- configureStream
- Action<ISiloPersistentStreamConfigurator>
返回
适用于
AddPersistentStreams(ISiloBuilder, String, Func<IServiceProvider,String,IQueueAdapterFactory>, Action<ISiloPersistentStreamConfigurator>)
将接收器配置为使用永久性流。
public static Orleans.Hosting.ISiloBuilder AddPersistentStreams (this Orleans.Hosting.ISiloBuilder builder, string name, Func<IServiceProvider,string,Orleans.Streams.IQueueAdapterFactory> adapterFactory, Action<Orleans.Streams.ISiloPersistentStreamConfigurator> configureStream);
static member AddPersistentStreams : Orleans.Hosting.ISiloBuilder * string * Func<IServiceProvider, string, Orleans.Streams.IQueueAdapterFactory> * Action<Orleans.Streams.ISiloPersistentStreamConfigurator> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddPersistentStreams (builder As ISiloBuilder, name As String, adapterFactory As Func(Of IServiceProvider, String, IQueueAdapterFactory), configureStream As Action(Of ISiloPersistentStreamConfigurator)) As ISiloBuilder
参数
- builder
- ISiloBuilder
- name
- String
- adapterFactory
- Func<IServiceProvider,String,IQueueAdapterFactory>
- configureStream
- Action<ISiloPersistentStreamConfigurator>
返回
适用于
AddPersistentStreams(ISiloHostBuilder, String, Func<IServiceProvider,String,IQueueAdapterFactory>, Action<ISiloPersistentStreamConfigurator>)
- Source:
- StreamHostingExtensions.cs
将接收器配置为使用永久性流。
public static Orleans.Hosting.ISiloHostBuilder AddPersistentStreams (this Orleans.Hosting.ISiloHostBuilder builder, string name, Func<IServiceProvider,string,Orleans.Streams.IQueueAdapterFactory> adapterFactory, Action<Orleans.Hosting.ISiloPersistentStreamConfigurator> configureStream);
static member AddPersistentStreams : Orleans.Hosting.ISiloHostBuilder * string * Func<IServiceProvider, string, Orleans.Streams.IQueueAdapterFactory> * Action<Orleans.Hosting.ISiloPersistentStreamConfigurator> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function AddPersistentStreams (builder As ISiloHostBuilder, name As String, adapterFactory As Func(Of IServiceProvider, String, IQueueAdapterFactory), configureStream As Action(Of ISiloPersistentStreamConfigurator)) As ISiloHostBuilder
参数
- builder
- ISiloHostBuilder
- name
- String
- adapterFactory
- Func<IServiceProvider,String,IQueueAdapterFactory>
- configureStream
- Action<ISiloPersistentStreamConfigurator>
返回
适用于
AddPersistentStreams(ISiloHostBuilder, String, Func<IServiceProvider,String,IQueueAdapterFactory>, Action<ISiloPersistentStreamConfigurator>)
将接收器配置为使用永久性流。
public static Orleans.Hosting.ISiloHostBuilder AddPersistentStreams (this Orleans.Hosting.ISiloHostBuilder builder, string name, Func<IServiceProvider,string,Orleans.Streams.IQueueAdapterFactory> adapterFactory, Action<Orleans.Streams.ISiloPersistentStreamConfigurator> configureStream);
static member AddPersistentStreams : Orleans.Hosting.ISiloHostBuilder * string * Func<IServiceProvider, string, Orleans.Streams.IQueueAdapterFactory> * Action<Orleans.Streams.ISiloPersistentStreamConfigurator> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function AddPersistentStreams (builder As ISiloHostBuilder, name As String, adapterFactory As Func(Of IServiceProvider, String, IQueueAdapterFactory), configureStream As Action(Of ISiloPersistentStreamConfigurator)) As ISiloHostBuilder
参数
- builder
- ISiloHostBuilder
- name
- String
- adapterFactory
- Func<IServiceProvider,String,IQueueAdapterFactory>
- configureStream
- Action<ISiloPersistentStreamConfigurator>