Partager via


ClientBuilderStreamingExtensions.AddPersistentStreams Méthode

Définition

Ajoute un nouveau fournisseur de flux persistants au client.

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

Paramètres

builder
IClientBuilder

Générateur.

name
String

Nom du fournisseur de flux.

adapterFactory
Func<IServiceProvider,String,IQueueAdapterFactory>

Fabrique de l’adaptateur.

configureStream
Action<IClusterClientPersistentStreamConfigurator>

Délégué de configuration.

Retours

Générateur de client.

S’applique à