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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk