Freigeben über


SiloBuilderExtensions.AddFaultInjectionMemoryStorage Methode

Definition

Überlädt

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

Konfiguriert ein Silo für die Verwendung FaultInjectionGrainStoragevon .

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

Konfiguriert ein Silo für die Verwendung FaultInjectionGrainStoragevon .

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

Konfiguriert ein Silo für die Verwendung FaultInjectionGrainStoragevon .

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

Parameter

builder
ISiloBuilder

Der Generator.

name
String

Der Name des Speicheranbieters.

configureOptions
Action<OptionsBuilder<MemoryGrainStorageOptions>>

Der Speicherkonfigurationsdelegat.

configureFaultInjectionOptions
Action<OptionsBuilder<FaultInjectionGrainStorageOptions>>

Der Konfigurationsdelegat des Fehlerinjektionsanbieters.

Gibt zurück

Der Silo-Generator

Gilt für:

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

Konfiguriert ein Silo für die Verwendung FaultInjectionGrainStoragevon .

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

Parameter

builder
ISiloBuilder

Der Generator.

name
String

Der Name des Speicheranbieters.

configureOptions
Action<MemoryGrainStorageOptions>

Der Speicherkonfigurationsdelegat.

configureFaultInjectionOptions
Action<FaultInjectionGrainStorageOptions>

Der Konfigurationsdelegat des Fehlerinjektionsanbieters.

Gibt zurück

Der Silo-Generator

Gilt für: