共用方式為


SiloPersistentStreamConfiguratorExtensions.ConfigureLifecycle 方法

定義

設定生命週期。

public static void ConfigureLifecycle (this Orleans.Hosting.ISiloPersistentStreamConfigurator configurator, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.StreamLifecycleOptions>> configureOptions);
static member ConfigureLifecycle : Orleans.Hosting.ISiloPersistentStreamConfigurator * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.StreamLifecycleOptions>> -> unit
<Extension()>
Public Sub ConfigureLifecycle (configurator As ISiloPersistentStreamConfigurator, configureOptions As Action(Of OptionsBuilder(Of StreamLifecycleOptions)))

參數

configurator
ISiloPersistentStreamConfigurator

組態產生器。

configureOptions
Action<OptionsBuilder<StreamLifecycleOptions>>

組態委派。

適用於