CosmosDbPartitionedStorage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implements an CosmosDB based storage provider using partitioning for an Agent.
public class CosmosDbPartitionedStorage : IDisposable, Microsoft.Agents.Storage.IStorage
type CosmosDbPartitionedStorage = class
interface IStorage
interface IDisposable
Public Class CosmosDbPartitionedStorage
Implements IDisposable, IStorage
- Inheritance
-
CosmosDbPartitionedStorage
- Implements
Constructors
| CosmosDbPartitionedStorage(CosmosDbPartitionedStorageOptions, JsonSerializerOptions) |
Initializes a new instance of the CosmosDbPartitionedStorage class. using the provided CosmosDB credentials, database ID, and container ID. |
Methods
| DeleteAsync(String[], CancellationToken) |
Deletes storage items from storage. |
| Dispose() |
Disposes the object instance and releases any related objects owned by the class. |
| Dispose(Boolean) |
Disposes objects used by the class. |
| ReadAsync(String[], CancellationToken) |
Reads storage items from storage. |
| ReadAsync<TStoreItem>(String[], CancellationToken) | |
| WriteAsync(IDictionary<String,Object>, CancellationToken) |
Writes storage items to storage. |
| WriteAsync<TStoreItem>(IDictionary<String,TStoreItem>, CancellationToken) | |