StreamHostingExtensions.AddPersistentStreams Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
AddPersistentStreams(ISiloBuilder, String, Func<IServiceProvider,String,IQueueAdapterFactory>, Action<ISiloPersistentStreamConfigurator>) |
Настройте silo для использования постоянных потоков. |
AddPersistentStreams(ISiloBuilder, String, Func<IServiceProvider,String,IQueueAdapterFactory>, Action<ISiloPersistentStreamConfigurator>) |
Настройте silo для использования постоянных потоков. |
AddPersistentStreams(ISiloHostBuilder, String, Func<IServiceProvider,String,IQueueAdapterFactory>, Action<ISiloPersistentStreamConfigurator>) |
Настройте silo для использования постоянных потоков. |
AddPersistentStreams(ISiloHostBuilder, String, Func<IServiceProvider,String,IQueueAdapterFactory>, Action<ISiloPersistentStreamConfigurator>) |
Настройте silo для использования постоянных потоков. |
AddPersistentStreams(ISiloBuilder, String, Func<IServiceProvider,String,IQueueAdapterFactory>, Action<ISiloPersistentStreamConfigurator>)
- Исходный код:
- StreamHostingExtensions.cs
Настройте silo для использования постоянных потоков.
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>)
Настройте silo для использования постоянных потоков.
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>)
- Исходный код:
- StreamHostingExtensions.cs
Настройте silo для использования постоянных потоков.
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>)
Настройте silo для использования постоянных потоков.
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>