다음을 통해 공유


ClientBuilderStreamingExtensions.AddPersistentStreams 메서드

정의

클라이언트에 새 영구 스트림 공급자를 추가합니다.

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

매개 변수

builder
IClientBuilder

작성기입니다.

name
String

스트림 공급자 이름입니다.

adapterFactory
Func<IServiceProvider,String,IQueueAdapterFactory>

어댑터 팩터리입니다.

configureStream
Action<IClusterClientPersistentStreamConfigurator>

구성 대리자입니다.

반환

클라이언트 작성기입니다.

적용 대상