다음을 통해 공유


SiloBuilderExtensions.AddFaultInjectionMemoryStorage 메서드

정의

오버로드

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

를 사용하도록 FaultInjectionGrainStorage사일로를 구성합니다.

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

를 사용하도록 FaultInjectionGrainStorage사일로를 구성합니다.

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

를 사용하도록 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

매개 변수

builder
ISiloBuilder

작성기입니다.

name
String

스토리지 공급자 이름입니다.

configureOptions
Action<OptionsBuilder<MemoryGrainStorageOptions>>

메모리 스토리지 구성 대리자입니다.

configureFaultInjectionOptions
Action<OptionsBuilder<FaultInjectionGrainStorageOptions>>

오류 주입 공급자 구성 대리자입니다.

반환

사일로 작성기

적용 대상

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

를 사용하도록 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

매개 변수

builder
ISiloBuilder

작성기입니다.

name
String

스토리지 공급자 이름입니다.

configureOptions
Action<MemoryGrainStorageOptions>

메모리 스토리지 구성 대리자입니다.

configureFaultInjectionOptions
Action<FaultInjectionGrainStorageOptions>

오류 주입 공급자 구성 대리자입니다.

반환

사일로 작성기

적용 대상