Compartilhar via


SiloBuilderExtensions.AddFaultInjectionMemoryStorage Método

Definição

Sobrecargas

AddFaultInjectionMemoryStorage(ISiloBuilder, String, Action<OptionsBuilder<MemoryGrainStorageOptions>>, Action<OptionsBuilder<FaultInjectionGrainStorageOptions>>)

Configura um silo para usar FaultInjectionGrainStorage.

AddFaultInjectionMemoryStorage(ISiloBuilder, String, Action<MemoryGrainStorageOptions>, Action<FaultInjectionGrainStorageOptions>)

Configura um silo para usar FaultInjectionGrainStorage.

AddFaultInjectionMemoryStorage(ISiloBuilder, String, Action<OptionsBuilder<MemoryGrainStorageOptions>>, Action<OptionsBuilder<FaultInjectionGrainStorageOptions>>)

Configura um silo para usar FaultInjectionGrainStorage.

public static Orleans.Hosting.ISiloBuilder AddFaultInjectionMemoryStorage (this Orleans.Hosting.ISiloBuilder builder, string name, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.MemoryGrainStorageOptions>> configureOptions = default, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.TestingHost.FaultInjectionGrainStorageOptions>> configureFaultInjectionOptions = default);
static member AddFaultInjectionMemoryStorage : Orleans.Hosting.ISiloBuilder * string * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.MemoryGrainStorageOptions>> * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.TestingHost.FaultInjectionGrainStorageOptions>> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddFaultInjectionMemoryStorage (builder As ISiloBuilder, name As String, Optional configureOptions As Action(Of OptionsBuilder(Of MemoryGrainStorageOptions)) = Nothing, Optional configureFaultInjectionOptions As Action(Of OptionsBuilder(Of FaultInjectionGrainStorageOptions)) = Nothing) As ISiloBuilder

Parâmetros

builder
ISiloBuilder

O construtor.

name
String

O nome do provedor de armazenamento.

configureOptions
Action<OptionsBuilder<MemoryGrainStorageOptions>>

O delegado de configuração de armazenamento de memória.

configureFaultInjectionOptions
Action<OptionsBuilder<FaultInjectionGrainStorageOptions>>

O delegado de configuração do provedor de injeção de falha.

Retornos

O construtor de silos

Aplica-se a

AddFaultInjectionMemoryStorage(ISiloBuilder, String, Action<MemoryGrainStorageOptions>, Action<FaultInjectionGrainStorageOptions>)

Configura um silo para usar FaultInjectionGrainStorage.

public static Orleans.Hosting.ISiloBuilder AddFaultInjectionMemoryStorage (this Orleans.Hosting.ISiloBuilder builder, string name, Action<Orleans.Configuration.MemoryGrainStorageOptions> configureOptions, Action<Orleans.TestingHost.FaultInjectionGrainStorageOptions> configureFaultInjectionOptions);
static member AddFaultInjectionMemoryStorage : Orleans.Hosting.ISiloBuilder * string * Action<Orleans.Configuration.MemoryGrainStorageOptions> * Action<Orleans.TestingHost.FaultInjectionGrainStorageOptions> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddFaultInjectionMemoryStorage (builder As ISiloBuilder, name As String, configureOptions As Action(Of MemoryGrainStorageOptions), configureFaultInjectionOptions As Action(Of FaultInjectionGrainStorageOptions)) As ISiloBuilder

Parâmetros

builder
ISiloBuilder

O construtor.

name
String

O nome do provedor de armazenamento.

configureOptions
Action<MemoryGrainStorageOptions>

O delegado de configuração de armazenamento de memória.

configureFaultInjectionOptions
Action<FaultInjectionGrainStorageOptions>

O delegado de configuração do provedor de injeção de falha.

Retornos

O construtor de silos

Aplica-se a