共用方式為


FaultInjectionStorageServiceCollectionExtensions 類別

定義

IServiceCollection 的擴充方法。

public static class FaultInjectionStorageServiceCollectionExtensions
type FaultInjectionStorageServiceCollectionExtensions = class
Public Module FaultInjectionStorageServiceCollectionExtensions
繼承
FaultInjectionStorageServiceCollectionExtensions

方法

AddFaultInjectionMemoryStorage(IServiceCollection, String, Action<MemoryGrainStorageOptions>, Action<FaultInjectionGrainStorageOptions>)

將定址接收器設定為使用 FaultInjectionGrainStorage

AddFaultInjectionMemoryStorage(IServiceCollection, String, Action<OptionsBuilder<MemoryGrainStorageOptions>>, Action<OptionsBuilder<FaultInjectionGrainStorageOptions>>)

將定址接收器設定為使用 FaultInjectionGrainStorage

適用於