共用方式為


FaultInjectionGrainStorage 建構函式

定義

建立裝飾儲存提供者的預設建構函式。

public FaultInjectionGrainStorage (Orleans.Storage.IGrainStorage realStorageProvider, string name, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Orleans.IGrainFactory grainFactory, Orleans.TestingHost.FaultInjectionGrainStorageOptions faultInjectionOptions);
new Orleans.TestingHost.FaultInjectionGrainStorage : Orleans.Storage.IGrainStorage * string * Microsoft.Extensions.Logging.ILoggerFactory * Orleans.IGrainFactory * Orleans.TestingHost.FaultInjectionGrainStorageOptions -> Orleans.TestingHost.FaultInjectionGrainStorage
Public Sub New (realStorageProvider As IGrainStorage, name As String, loggerFactory As ILoggerFactory, grainFactory As IGrainFactory, faultInjectionOptions As FaultInjectionGrainStorageOptions)

參數

realStorageProvider
IGrainStorage

實際的儲存體提供者。

name
String

儲存體提供者名稱。

loggerFactory
ILoggerFactory

記錄器工廠。

grainFactory
IGrainFactory

粒紋處理站。

faultInjectionOptions
FaultInjectionGrainStorageOptions

錯誤插入選項。

適用於