ICloudJobOperations.GetAsync Method (String, CloudJobGetParameters, CancellationToken)
Gets information about the specified job.
Namespace: Microsoft.Azure.Batch.Protocol
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)
Syntax
Task<CloudJobGetResponse> GetAsync(
string jobId,
CloudJobGetParameters parameters,
CancellationToken cancellationToken
)
Task<CloudJobGetResponse^>^ GetAsync(
String^ jobId,
CloudJobGetParameters^ parameters,
CancellationToken cancellationToken
)
abstract GetAsync :
jobId:string *
parameters:CloudJobGetParameters *
cancellationToken:CancellationToken -> Task<CloudJobGetResponse>
Function GetAsync (
jobId As String,
parameters As CloudJobGetParameters,
cancellationToken As CancellationToken
) As Task(Of CloudJobGetResponse)
Parameters
jobId
Type: System.StringThe id of the job.
parameters
Type: Microsoft.Azure.Batch.Protocol.Models.CloudJobGetParametersThe parameters for the request.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<CloudJobGetResponse>
Response to a CloudJobOperations.Get request.
See Also
ICloudJobOperations Interface
Microsoft.Azure.Batch.Protocol Namespace
Return to top