Compartilhar via


FaultInjectionGrainStorage Construtor

Definição

Construtor padrão que cria o provedor de armazenamento 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

O provedor de armazenamento real.

name
String

O nome do provedor de armazenamento.

loggerFactory
ILoggerFactory

A fábrica do agente.

grainFactory
IGrainFactory

A fábrica de grãos.

faultInjectionOptions
FaultInjectionGrainStorageOptions

As opções de injeção de falha.

Aplica-se a