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

PrivateStoreOfferResource.DeleteAsync 方法

定义

重载

DeleteAsync(WaitUntil, CancellationToken)

从给定的专用存储集合中删除产品/服务。

  • 请求路径/提供程序/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/offers/{offerId}
  • 操作IdPrivateStoreCollectionOffer_Delete
DeleteAsync(Nullable<PrivateStoreOperation>, CancellationToken)

删除专用应用商店产品/服务。 这是一种解决方法。

  • 请求路径/提供程序/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/offers/{offerId}
  • 操作IdPrivateStoreCollectionOffer_Post

DeleteAsync(WaitUntil, CancellationToken)

从给定的专用存储集合中删除产品/服务。

  • 请求路径/提供程序/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/offers/{offerId}
  • 操作IdPrivateStoreCollectionOffer_Delete
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> DeleteAsync (Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteAsync : Azure.WaitUntil * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.DeleteAsync : Azure.WaitUntil * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function DeleteAsync (waitUntil As WaitUntil, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation)

参数

waitUntil
WaitUntil

Completed 如果方法应在服务上完成长时间运行的操作之前等待返回,则为 ; Started 如果它在启动操作后应返回,则为 。 有关长时间运行的操作的详细信息,请参阅 Azure.Core Long-Running 操作示例

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于

DeleteAsync(Nullable<PrivateStoreOperation>, CancellationToken)

删除专用应用商店产品/服务。 这是一种解决方法。

  • 请求路径/提供程序/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/offers/{offerId}
  • 操作IdPrivateStoreCollectionOffer_Post
public virtual System.Threading.Tasks.Task<Azure.Response> DeleteAsync (Azure.ResourceManager.Marketplace.Models.PrivateStoreOperation? payload = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteAsync : Nullable<Azure.ResourceManager.Marketplace.Models.PrivateStoreOperation> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteAsync : Nullable<Azure.ResourceManager.Marketplace.Models.PrivateStoreOperation> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteAsync (Optional payload As Nullable(Of PrivateStoreOperation) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

参数

payload
Nullable<PrivateStoreOperation>

要使用的 PrivateStoreOperation。

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于