Share via


JobOperations.GetJobAsync Method (String, DetailLevel, IEnumerable<BatchClientBehavior>)

 

Gets the specified CloudJob.

Namespace:   Microsoft.Azure.Batch
Assembly:  Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)

Syntax

public Task<CloudJob> GetJobAsync(
    string jobId,
    DetailLevel detailLevel = null,
    IEnumerable<BatchClientBehavior> additionalBehaviors = null
)
public:
Task<CloudJob^>^ GetJobAsync(
    String^ jobId,
    DetailLevel^ detailLevel = null,
    IEnumerable<BatchClientBehavior^>^ additionalBehaviors = null
)
member GetJobAsync : 
        jobId:string *
        detailLevel:DetailLevel = null *
        additionalBehaviors:IEnumerable<BatchClientBehavior> = null -> Task<CloudJob>
Public Function GetJobAsync (
    jobId As String,
    detailLevel As DetailLevel,
    additionalBehaviors As IEnumerable(Of BatchClientBehavior)
) As Task(Of CloudJob)

Parameters

Return Value

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

A CloudJob containing information about the specified Azure Batch job.

Remarks

The get job operation runs asynchronously.

See Also

JobOperations Class
Microsoft.Azure.Batch Namespace

Return to top