ITriggeredWebJobOperations.GetRunAsync 方法

Get a web job run.

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

使用

用法
Dim instance As ITriggeredWebJobOperations
Dim jobName As String
Dim jobRunId As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of TriggeredWebJobGetRunResponse)

returnValue = instance.GetRunAsync(jobName, jobRunId, cancellationToken)

语法

声明
Function GetRunAsync ( _
    jobName As String, _
    jobRunId As String, _
    cancellationToken As CancellationToken _
) As Task(Of TriggeredWebJobGetRunResponse)
Task<TriggeredWebJobGetRunResponse> GetRunAsync (
    string jobName,
    string jobRunId,
    CancellationToken cancellationToken
)
Task<TriggeredWebJobGetRunResponse^>^ GetRunAsync (
    String^ jobName, 
    String^ jobRunId, 
    CancellationToken cancellationToken
)
Task<TriggeredWebJobGetRunResponse> GetRunAsync (
    String jobName, 
    String jobRunId, 
    CancellationToken cancellationToken
)
function GetRunAsync (
    jobName : String, 
    jobRunId : String, 
    cancellationToken : CancellationToken
) : Task<TriggeredWebJobGetRunResponse>

参数

  • jobName
    The triggered WebJob name.
  • jobRunId
    The triggered WebJob run identifier.
  • cancellationToken
    Cancellation token.

返回值

The get triggered WebJob Run operation response.

线程安全

此类型的所有公开静态(在 Visual Basic 中为共享)成员均为线程安全型成员。但不保证所有实例成员都是线程安全的。

平台

开发平台

Windows Vista、Windows 7 和 Windows Server 2008

目标平台

另请参阅

参考

ITriggeredWebJobOperations 接口
ITriggeredWebJobOperations 成员
Microsoft.WindowsAzure.WebSitesExtensions 命名空间