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