Edytuj

Udostępnij za pośrednictwem


ClientBuilderStreamingExtensions.AddPersistentStreams Method

Definition

Adds a new persistent streams provider to the 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

Parameters

builder
IClientBuilder

The builder.

name
String

The stream provider name.

adapterFactory
Func<IServiceProvider,String,IQueueAdapterFactory>

The adapter factory.

configureStream
Action<IClusterClientPersistentStreamConfigurator>

The configuration delegate.

Returns

The client builder.

Applies to