CosmosDbPartitionedStorage コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
CosmosDbPartitionedStorage(CosmosDbPartitionedStorageOptions) |
CosmosDbPartitionedStorage クラスの新しいインスタンスを初期化します。 指定された CosmosDB 資格情報、データベース ID、およびコンテナー ID を使用します。 |
CosmosDbPartitionedStorage(CosmosDbPartitionedStorageOptions, JsonSerializer) |
CosmosDbPartitionedStorage クラスの新しいインスタンスを初期化します。 指定された CosmosDB 資格情報、データベース ID、およびコレクション ID を使用します。 |
CosmosDbPartitionedStorage(CosmosDbPartitionedStorageOptions)
CosmosDbPartitionedStorage クラスの新しいインスタンスを初期化します。 指定された CosmosDB 資格情報、データベース ID、およびコンテナー ID を使用します。
public CosmosDbPartitionedStorage (Microsoft.Bot.Builder.Azure.CosmosDbPartitionedStorageOptions cosmosDbStorageOptions);
new Microsoft.Bot.Builder.Azure.CosmosDbPartitionedStorage : Microsoft.Bot.Builder.Azure.CosmosDbPartitionedStorageOptions -> Microsoft.Bot.Builder.Azure.CosmosDbPartitionedStorage
Public Sub New (cosmosDbStorageOptions As CosmosDbPartitionedStorageOptions)
パラメーター
- cosmosDbStorageOptions
- CosmosDbPartitionedStorageOptions
Cosmos DB パーティション分割ストレージ構成オプション。
適用対象
CosmosDbPartitionedStorage(CosmosDbPartitionedStorageOptions, JsonSerializer)
CosmosDbPartitionedStorage クラスの新しいインスタンスを初期化します。 指定された CosmosDB 資格情報、データベース ID、およびコレクション ID を使用します。
public CosmosDbPartitionedStorage (Microsoft.Bot.Builder.Azure.CosmosDbPartitionedStorageOptions cosmosDbStorageOptions, Newtonsoft.Json.JsonSerializer jsonSerializer);
new Microsoft.Bot.Builder.Azure.CosmosDbPartitionedStorage : Microsoft.Bot.Builder.Azure.CosmosDbPartitionedStorageOptions * Newtonsoft.Json.JsonSerializer -> Microsoft.Bot.Builder.Azure.CosmosDbPartitionedStorage
Public Sub New (cosmosDbStorageOptions As CosmosDbPartitionedStorageOptions, jsonSerializer As JsonSerializer)
パラメーター
- cosmosDbStorageOptions
- CosmosDbPartitionedStorageOptions
Cosmos DB パーティション分割ストレージ構成オプション。
- jsonSerializer
- Newtonsoft.Json.JsonSerializer
カスタム JsonSerializer を渡す場合は、次の設定をお勧めします。
jsonSerializer.TypeNameHandling = TypeNameHandling.All。
jsonSerializer.NullValueHandling = NullValueHandling.Include。
jsonSerializer.ContractResolver = new DefaultContractResolver().
jsonSerializer.SerializationBinder = new AllowedTypesSerializationBinder().