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
Azure SDK for .NET
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по