Freigeben über


ClientBuilderStreamingExtensions.AddPersistentStreams Methode

Definition

Fügt dem Client einen neuen Anbieter für persistente Datenströme hinzu.

public static Orleans.Hosting.IClientBuilder AddPersistentStreams (this Orleans.Hosting.IClientBuilder builder, string name, Func<IServiceProvider,string,Orleans.Streams.IQueueAdapterFactory> adapterFactory, Action<Orleans.Hosting.IClusterClientPersistentStreamConfigurator> configureStream);
static member AddPersistentStreams : Orleans.Hosting.IClientBuilder * string * Func<IServiceProvider, string, Orleans.Streams.IQueueAdapterFactory> * Action<Orleans.Hosting.IClusterClientPersistentStreamConfigurator> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function AddPersistentStreams (builder As IClientBuilder, name As String, adapterFactory As Func(Of IServiceProvider, String, IQueueAdapterFactory), configureStream As Action(Of IClusterClientPersistentStreamConfigurator)) As IClientBuilder

Parameter

builder
IClientBuilder

Der Generator.

name
String

Der Name des Streamanbieters.

adapterFactory
Func<IServiceProvider,String,IQueueAdapterFactory>

Die Adapterfactory.

configureStream
Action<IClusterClientPersistentStreamConfigurator>

Der Konfigurationsdelegat.

Gibt zurück

Der Client-Generator.

Gilt für: