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

StorageSyncManagementClientExtensions.LocationOperationStatusMethodAsync 方法

定义

获取操作状态

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageSync.Models.LocationOperationStatus> LocationOperationStatusMethodAsync (this Microsoft.Azure.Management.StorageSync.IStorageSyncManagementClient operations, string locationName, string operationId, System.Threading.CancellationToken cancellationToken = default);
static member LocationOperationStatusMethodAsync : Microsoft.Azure.Management.StorageSync.IStorageSyncManagementClient * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageSync.Models.LocationOperationStatus>
<Extension()>
Public Function LocationOperationStatusMethodAsync (operations As IStorageSyncManagementClient, locationName As String, operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of LocationOperationStatus)

参数

operations
IStorageSyncManagementClient

此扩展方法的操作组。

locationName
String

要从中获取信息的所需区域。

operationId
String

操作 ID

cancellationToken
CancellationToken

取消标记。

返回

适用于