Freigeben über


SiloBuilderStreamingExtensions.AddPersistentStreams Methode

Definition

Konfiguriert das Silo für die Verwendung persistenter Datenströme.

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

Parameter

builder
ISiloBuilder

Der Generator.

name
String

Der Anbietername.

adapterFactory
Func<IServiceProvider,String,IQueueAdapterFactory>

Die Anbieteradapter-Factory.

configureStream
Action<ISiloPersistentStreamConfigurator>

Der Streamanbieterkonfigurationsdelegat.

Gibt zurück

Der Silo-Generator.

Gilt für: