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

故障注入选项。

适用于