Partager via


SiloBuilderStreamingExtensions.AddPersistentStreams Méthode

Définition

Configure le silo pour utiliser des flux persistants.

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

Paramètres

builder
ISiloBuilder

Générateur.

name
String

Nom du fournisseur.

adapterFactory
Func<IServiceProvider,String,IQueueAdapterFactory>

Fabrique de l’adaptateur fournisseur.

configureStream
Action<ISiloPersistentStreamConfigurator>

Délégué de configuration du fournisseur de flux.

Retours

Générateur de silo.

S’applique à