Condividi tramite


FaultInjectionGrainStorage Costruttore

Definizione

Costruttore predefinito che crea il provider di archiviazione decorato.

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)

Parametri

realStorageProvider
IGrainStorage

Provider di archiviazione reale.

name
String

Nome del provider di archiviazione.

loggerFactory
ILoggerFactory

Factory del logger.

grainFactory
IGrainFactory

Fabbrica di cereali.

faultInjectionOptions
FaultInjectionGrainStorageOptions

Opzioni di inserimento degli errori.

Si applica a