IJobOperations.GetAsync 方法 (String, Guid, CancellationToken)

 

检索由作业 id 标识的作业。 (请参阅 https://aka.ms/azureautomationsdk/joboperations 有关详细信息)

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

语法

Task<JobGetResponse> GetAsync(
    string automationAccount,
    Guid jobId,
    CancellationToken cancellationToken
)
Task<JobGetResponse^>^ GetAsync(
    String^ automationAccount,
    Guid jobId,
    CancellationToken cancellationToken
)
abstract GetAsync : 
        automationAccount:string *
        jobId:Guid *
        cancellationToken:CancellationToken -> Task<JobGetResponse>
Function GetAsync (
    automationAccount As String,
    jobId As Guid,
    cancellationToken As CancellationToken
) As Task(Of JobGetResponse)

参数

  • automationAccount
    Type: System.String

    自动管理帐户名称。

返回值

Type: System.Threading.Tasks.Task<JobGetResponse>

Get job 操作该响应模型。

请参阅

IJobOperations 接口
Microsoft.WindowsAzure.Management.Automation 命名空间

返回页首