共用方式為


SiloBuilderStreamingExtensions.AddPersistentStreams 方法

定義

設定定址接收器以使用永續性資料流程。

public static Orleans.Hosting.ISiloBuilder AddPersistentStreams (this Orleans.Hosting.ISiloBuilder builder, string name, Func<IServiceProvider,string,Orleans.Streams.IQueueAdapterFactory> adapterFactory, Action<Orleans.Hosting.ISiloPersistentStreamConfigurator> configureStream);
static member AddPersistentStreams : Orleans.Hosting.ISiloBuilder * string * Func<IServiceProvider, string, Orleans.Streams.IQueueAdapterFactory> * Action<Orleans.Hosting.ISiloPersistentStreamConfigurator> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddPersistentStreams (builder As ISiloBuilder, name As String, adapterFactory As Func(Of IServiceProvider, String, IQueueAdapterFactory), configureStream As Action(Of ISiloPersistentStreamConfigurator)) As ISiloBuilder

參數

builder
ISiloBuilder

產生器。

name
String

提供者名稱。

adapterFactory
Func<IServiceProvider,String,IQueueAdapterFactory>

提供者配接器處理站。

configureStream
Action<ISiloPersistentStreamConfigurator>

資料流程提供者組態委派。

傳回

定址接收器產生器。

適用於