ICloudTaskOperations.ListAsync Method (String, CloudTaskListParameters, CancellationToken)
Lists all of the tasks that are associated with the specified job.
Namespace: Microsoft.Azure.Batch.Protocol
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)
Syntax
Task<CloudTaskListResponse> ListAsync(
string jobId,
CloudTaskListParameters parameters,
CancellationToken cancellationToken
)
Task<CloudTaskListResponse^>^ ListAsync(
String^ jobId,
CloudTaskListParameters^ parameters,
CancellationToken cancellationToken
)
abstract ListAsync :
jobId:string *
parameters:CloudTaskListParameters *
cancellationToken:CancellationToken -> Task<CloudTaskListResponse>
Function ListAsync (
jobId As String,
parameters As CloudTaskListParameters,
cancellationToken As CancellationToken
) As Task(Of CloudTaskListResponse)
Parameters
jobId
Type: System.StringThe id of the job.
parameters
Type: Microsoft.Azure.Batch.Protocol.Models.CloudTaskListParametersThe parameters for the request.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<CloudTaskListResponse>
Response to a CloudTaskOperations.List request.
See Also
ICloudTaskOperations Interface
Microsoft.Azure.Batch.Protocol Namespace
Return to top