Compartilhar via


ClientBuilderStreamingExtensions.AddPersistentStreams Método

Definição

Adiciona um novo provedor de fluxos persistentes ao cliente.

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

Parâmetros

builder
IClientBuilder

O construtor.

name
String

O nome do provedor de fluxo.

adapterFactory
Func<IServiceProvider,String,IQueueAdapterFactory>

A fábrica do adaptador.

configureStream
Action<IClusterClientPersistentStreamConfigurator>

O delegado de configuração.

Retornos

O construtor de clientes.

Aplica-se a