StreamHostingExtensions.AddPersistentStreams 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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.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>)
設定定址接收器以使用永續性資料流程。
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>