你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CosmosConflicts 类

定义

用于在 Azure Cosmos 容器中读取/查询冲突的操作。

public abstract class CosmosConflicts
type CosmosConflicts = class
Public MustInherit Class CosmosConflicts
继承
CosmosConflicts

构造函数

CosmosConflicts()

用于在 Azure Cosmos 容器中读取/查询冲突的操作。

方法

DeleteAsync(ConflictProperties, PartitionKey, CancellationToken)

从 Azure Cosmos 服务中删除冲突作为异步操作。

GetConflictsAsync<T>(QueryDefinition, String, QueryRequestOptions, CancellationToken)

获取一个迭代器,以在 Azure Cosmos 容器上通过 ConflictProperties

GetConflictsAsync<T>(String, String, QueryRequestOptions, CancellationToken)

获取一个迭代器,以在 Azure Cosmos 容器上通过 ConflictProperties

GetConflictsStreamAsync(QueryDefinition, String, QueryRequestOptions, CancellationToken)

获取一个迭代器,用于将容器的所有冲突作为原始 ResponseMessage

GetConflictsStreamAsync(String, String, QueryRequestOptions, CancellationToken)

获取一个迭代器,用于将容器的所有冲突作为原始 ResponseMessage

ReadConflictContent<T>(ConflictProperties)

读取 Azure Cosmos DB 服务中冲突资源的内容。

ReadCurrentAsync<T>(ConflictProperties, PartitionKey, CancellationToken)

读取导致冲突的项。

适用于