Condividi tramite


ClientBuilderStreamingExtensions.AddPersistentStreams Metodo

Definizione

Aggiunge un nuovo provider di flussi persistenti al 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

Parametri

builder
IClientBuilder

Generatore.

name
String

Nome del provider di flusso.

adapterFactory
Func<IServiceProvider,String,IQueueAdapterFactory>

Factory dell'adattatore.

configureStream
Action<IClusterClientPersistentStreamConfigurator>

Delegato di configurazione.

Restituisce

Generatore di client.

Si applica a