AutomationManagementClientExtensions.GetOperationResultStatus 方法 (IAutomationManagementClient, String)

 

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

命名空间:   Microsoft.WindowsAzure.Management.Automation
程序集:  Microsoft.WindowsAzure.Management.Automation(Microsoft.WindowsAzure.Management.Automation.dll 中)

语法

public static LongRunningOperationResultResponse GetOperationResultStatus(
    this IAutomationManagementClient operations,
    string operationStatusLink
)
public:
[ExtensionAttribute]
static LongRunningOperationResultResponse^ GetOperationResultStatus(
    IAutomationManagementClient^ operations,
    String^ operationStatusLink
)
static member GetOperationResultStatus : 
        operations:IAutomationManagementClient *
        operationStatusLink:string -> LongRunningOperationResultResponse
<ExtensionAttribute>
Public Shared Function GetOperationResultStatus (
    operations As IAutomationManagementClient,
    operationStatusLink As String
) As LongRunningOperationResultResponse

参数

  • operationStatusLink
    Type: System.String

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

返回值

Type: Microsoft.WindowsAzure.Management.Automation.Models.LongRunningOperationResultResponse

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

请参阅

AutomationManagementClientExtensions 类
Microsoft.WindowsAzure.Management.Automation 命名空间

返回页首