TaskOperationsExtensions.ListSubtasksAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lists all of the subtasks that are associated with the specified multi-instance Task.
public static System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.CloudTaskListSubtasksResult> ListSubtasksAsync (this Microsoft.Azure.Batch.Protocol.ITaskOperations operations, string jobId, string taskId, Microsoft.Azure.Batch.Protocol.Models.TaskListSubtasksOptions taskListSubtasksOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member ListSubtasksAsync : Microsoft.Azure.Batch.Protocol.ITaskOperations * string * string * Microsoft.Azure.Batch.Protocol.Models.TaskListSubtasksOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.CloudTaskListSubtasksResult>
<Extension()>
Public Function ListSubtasksAsync (operations As ITaskOperations, jobId As String, taskId As String, Optional taskListSubtasksOptions As TaskListSubtasksOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CloudTaskListSubtasksResult)
Parameters
- operations
- ITaskOperations
The operations group for this extension method.
- jobId
- String
The ID of the Job.
- taskId
- String
The ID of the Task.
- taskListSubtasksOptions
- TaskListSubtasksOptions
Additional parameters for the operation
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
If the Task is not a multi-instance Task then this returns an empty collection.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET