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