CloudTaskOperationsExtensions.ListSubtasksAsync Method (ICloudTaskOperations, String, String, CloudTaskListSubtasksParameters)
Lists all of the subtasks that are associated with the specified multi-instance task.
Namespace: Microsoft.Azure.Batch.Protocol
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)
Syntax
public static Task<CloudTaskListSubtasksResponse> ListSubtasksAsync(
this ICloudTaskOperations operations,
string jobId,
string taskId,
CloudTaskListSubtasksParameters parameters
)
public:
[ExtensionAttribute]
static Task<CloudTaskListSubtasksResponse^>^ ListSubtasksAsync(
ICloudTaskOperations^ operations,
String^ jobId,
String^ taskId,
CloudTaskListSubtasksParameters^ parameters
)
static member ListSubtasksAsync :
operations:ICloudTaskOperations *
jobId:string *
taskId:string *
parameters:CloudTaskListSubtasksParameters -> Task<CloudTaskListSubtasksResponse>
<ExtensionAttribute>
Public Shared Function ListSubtasksAsync (
operations As ICloudTaskOperations,
jobId As String,
taskId As String,
parameters As CloudTaskListSubtasksParameters
) As Task(Of CloudTaskListSubtasksResponse)
Parameters
operations
Type: Microsoft.Azure.Batch.Protocol.ICloudTaskOperationsReference to the Microsoft.Azure.Batch.Protocol.ICloudTaskOperations.
jobId
Type: System.StringRequired. The id of the job.
taskId
Type: System.StringRequired. The id of the task.
parameters
Type: Microsoft.Azure.Batch.Protocol.Models.CloudTaskListSubtasksParametersRequired. The parameters for the request.
Return Value
Type: System.Threading.Tasks.Task<CloudTaskListSubtasksResponse>
Response to a CloudTaskOperations.ListSubtasks request.
See Also
CloudTaskOperationsExtensions Class
Microsoft.Azure.Batch.Protocol Namespace
Return to top