Partilhar via


SiloBuilderStreamingExtensions.AddPersistentStreams Método

Definição

Configura o silo para usar fluxos persistentes.

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

Parâmetros

builder
ISiloBuilder

O construtor.

name
String

O nome do provedor.

adapterFactory
Func<IServiceProvider,String,IQueueAdapterFactory>

A fábrica do adaptador do provedor.

configureStream
Action<ISiloPersistentStreamConfigurator>

O delegado de configuração do provedor de fluxo.

Retornos

O construtor de silos.

Aplica-se a