다음을 통해 공유


FaultInjectionStorageServiceCollectionExtensions.AddFaultInjectionMemoryStorage 메서드

정의

오버로드

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

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

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

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

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

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

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddFaultInjectionMemoryStorage (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, 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 : Microsoft.Extensions.DependencyInjection.IServiceCollection * string * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.MemoryGrainStorageOptions>> * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.TestingHost.FaultInjectionGrainStorageOptions>> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddFaultInjectionMemoryStorage (services As IServiceCollection, name As String, Optional configureOptions As Action(Of OptionsBuilder(Of MemoryGrainStorageOptions)) = Nothing, Optional configureFaultInjectionOptions As Action(Of OptionsBuilder(Of FaultInjectionGrainStorageOptions)) = Nothing) As IServiceCollection

매개 변수

services
IServiceCollection

서비스입니다.

name
String

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

configureOptions
Action<OptionsBuilder<MemoryGrainStorageOptions>>

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

configureFaultInjectionOptions
Action<OptionsBuilder<FaultInjectionGrainStorageOptions>>

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

반환

서비스 컬렉션입니다.

적용 대상

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

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

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddFaultInjectionMemoryStorage (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name, Action<Orleans.Configuration.MemoryGrainStorageOptions> configureOptions, Action<Orleans.TestingHost.FaultInjectionGrainStorageOptions> configureFaultInjectionOptions);
static member AddFaultInjectionMemoryStorage : Microsoft.Extensions.DependencyInjection.IServiceCollection * string * Action<Orleans.Configuration.MemoryGrainStorageOptions> * Action<Orleans.TestingHost.FaultInjectionGrainStorageOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddFaultInjectionMemoryStorage (services As IServiceCollection, name As String, configureOptions As Action(Of MemoryGrainStorageOptions), configureFaultInjectionOptions As Action(Of FaultInjectionGrainStorageOptions)) As IServiceCollection

매개 변수

services
IServiceCollection

서비스입니다.

name
String

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

configureOptions
Action<MemoryGrainStorageOptions>

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

configureFaultInjectionOptions
Action<FaultInjectionGrainStorageOptions>

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

반환

서비스 컬렉션입니다.

적용 대상