Compartir a través de


FaultInjectionGrainStorage Constructor

Definición

Constructor predeterminado que crea el proveedor de almacenamiento decorado.

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)

Parámetros

realStorageProvider
IGrainStorage

Proveedor de almacenamiento real.

name
String

Nombre del proveedor de almacenamiento.

loggerFactory
ILoggerFactory

El generador del registrador.

grainFactory
IGrainFactory

La fábrica de granos.

faultInjectionOptions
FaultInjectionGrainStorageOptions

Opciones de inyección de errores.

Se aplica a