共用方式為


SiloRecoverableStreamConfiguratorExtensions.ConfigureCacheEviction 方法

定義

設定可靠資料流程提供者的快取收回選項。

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

參數

configurator
ISiloRecoverableStreamConfigurator

組態產生器。

configureOptions
Action<OptionsBuilder<StreamCacheEvictionOptions>>

組態委派。

適用於