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

ResourceManagementClient.GetLongRunningOperationStatusAsync 方法

定义

“获取操作状态”操作返回指定操作的状态。 调用异步操作后,可调用“获取操作状态”以确定操作已成功、失败还是仍在进行中。

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.LongRunningOperationResponse> GetLongRunningOperationStatusAsync (string operationStatusLink, System.Threading.CancellationToken cancellationToken);
abstract member GetLongRunningOperationStatusAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.LongRunningOperationResponse>
override this.GetLongRunningOperationStatusAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.LongRunningOperationResponse>
Public Function GetLongRunningOperationStatusAsync (operationStatusLink As String, cancellationToken As CancellationToken) As Task(Of LongRunningOperationResponse)

参数

operationStatusLink
String

必需。 “开始”操作返回的位置值。

cancellationToken
CancellationToken

取消标记。

返回

长时间运行操作的标准服务响应。

实现

适用于