CosmosDbPartitionedStorage コンストラクター

定義

オーバーロード

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().

適用対象