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

CosmosConflicts.DeleteAsync 方法

定义

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

public abstract System.Threading.Tasks.Task<Azure.Response> DeleteAsync (Azure.Cosmos.ConflictProperties conflict, Azure.Cosmos.PartitionKey partitionKey, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteAsync : Azure.Cosmos.ConflictProperties * Azure.Cosmos.PartitionKey * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public MustOverride Function DeleteAsync (conflict As ConflictProperties, partitionKey As PartitionKey, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

参数

conflict
ConflictProperties

要删除的冲突。

partitionKey
PartitionKey

冲突的分区键。

cancellationToken
CancellationToken

(表示请求取消的可选) CancellationToken

返回

表示异步操作的任务。

适用于

另请参阅