SiloRecoverableStreamConfiguratorExtensions.ConfigureCacheEviction 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定可靠資料流程提供者的快取收回選項。
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>>
組態委派。