Condividi tramite


SiloBuilderStreamingExtensions.AddPersistentStreams Metodo

Definizione

Configura il silo per l'uso di flussi persistenti.

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

Parametri

builder
ISiloBuilder

Generatore.

name
String

Nome provider.

adapterFactory
Func<IServiceProvider,String,IQueueAdapterFactory>

Factory della scheda del provider.

configureStream
Action<ISiloPersistentStreamConfigurator>

Delegato di configurazione del provider di flusso.

Restituisce

Generatore silo.

Si applica a