StreamHostingExtensions.AddPersistentStreams Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddPersistentStreams(ISiloBuilder, String, Func<IServiceProvider,String,IQueueAdapterFactory>, Action<ISiloPersistentStreamConfigurator>) |
Configure silo to use persistent streams. |
AddPersistentStreams(ISiloBuilder, String, Func<IServiceProvider,String,IQueueAdapterFactory>, Action<ISiloPersistentStreamConfigurator>) |
Configure silo to use persistent streams. |
AddPersistentStreams(ISiloHostBuilder, String, Func<IServiceProvider,String,IQueueAdapterFactory>, Action<ISiloPersistentStreamConfigurator>) |
Configure silo to use persistent streams. |
AddPersistentStreams(ISiloHostBuilder, String, Func<IServiceProvider,String,IQueueAdapterFactory>, Action<ISiloPersistentStreamConfigurator>) |
Configure silo to use persistent streams. |
AddPersistentStreams(ISiloBuilder, String, Func<IServiceProvider,String,IQueueAdapterFactory>, Action<ISiloPersistentStreamConfigurator>)
- Source:
- StreamHostingExtensions.cs
Configure silo to use persistent streams.
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
Parameters
- builder
- ISiloBuilder
- name
- String
- adapterFactory
- Func<IServiceProvider,String,IQueueAdapterFactory>
- configureStream
- Action<ISiloPersistentStreamConfigurator>
Returns
Applies to
AddPersistentStreams(ISiloBuilder, String, Func<IServiceProvider,String,IQueueAdapterFactory>, Action<ISiloPersistentStreamConfigurator>)
Configure silo to use persistent streams.
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
Parameters
- builder
- ISiloBuilder
- name
- String
- adapterFactory
- Func<IServiceProvider,String,IQueueAdapterFactory>
- configureStream
- Action<ISiloPersistentStreamConfigurator>
Returns
Applies to
AddPersistentStreams(ISiloHostBuilder, String, Func<IServiceProvider,String,IQueueAdapterFactory>, Action<ISiloPersistentStreamConfigurator>)
- Source:
- StreamHostingExtensions.cs
Configure silo to use persistent streams.
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
Parameters
- builder
- ISiloHostBuilder
- name
- String
- adapterFactory
- Func<IServiceProvider,String,IQueueAdapterFactory>
- configureStream
- Action<ISiloPersistentStreamConfigurator>
Returns
Applies to
AddPersistentStreams(ISiloHostBuilder, String, Func<IServiceProvider,String,IQueueAdapterFactory>, Action<ISiloPersistentStreamConfigurator>)
Configure silo to use persistent streams.
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
Parameters
- builder
- ISiloHostBuilder
- name
- String
- adapterFactory
- Func<IServiceProvider,String,IQueueAdapterFactory>
- configureStream
- Action<ISiloPersistentStreamConfigurator>