DynamoDBGrainStorageServiceCollectionExtensions.AddDynamoDBGrainStorage 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AddDynamoDBGrainStorage(IServiceCollection, String, Action<OptionsBuilder<DynamoDBStorageOptions>>) |
配置 silo 以使用 AWS DynamoDB 存储进行 grain 存储。 |
AddDynamoDBGrainStorage(IServiceCollection, String, Action<DynamoDBStorageOptions>) |
配置 silo 以使用 AWS DynamoDB 存储进行 grain 存储。 |
AddDynamoDBGrainStorage(IServiceCollection, String, Action<OptionsBuilder<DynamoDBStorageOptions>>)
配置 silo 以使用 AWS DynamoDB 存储进行 grain 存储。
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddDynamoDBGrainStorage (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.DynamoDBStorageOptions>> configureOptions = default);
static member AddDynamoDBGrainStorage : Microsoft.Extensions.DependencyInjection.IServiceCollection * string * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.DynamoDBStorageOptions>> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddDynamoDBGrainStorage (services As IServiceCollection, name As String, Optional configureOptions As Action(Of OptionsBuilder(Of DynamoDBStorageOptions)) = Nothing) As IServiceCollection
参数
- services
- IServiceCollection
- name
- String
- configureOptions
- Action<OptionsBuilder<DynamoDBStorageOptions>>
返回
适用于
AddDynamoDBGrainStorage(IServiceCollection, String, Action<DynamoDBStorageOptions>)
配置 silo 以使用 AWS DynamoDB 存储进行 grain 存储。
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddDynamoDBGrainStorage (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name, Action<Orleans.Configuration.DynamoDBStorageOptions> configureOptions);
static member AddDynamoDBGrainStorage : Microsoft.Extensions.DependencyInjection.IServiceCollection * string * Action<Orleans.Configuration.DynamoDBStorageOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddDynamoDBGrainStorage (services As IServiceCollection, name As String, configureOptions As Action(Of DynamoDBStorageOptions)) As IServiceCollection
参数
- services
- IServiceCollection
- name
- String
- configureOptions
- Action<DynamoDBStorageOptions>