WaitAll()
Contents
[
Hide
]System::Threading::Tasks::WaitAll(const ArrayPtr<TaskPtr>&, const CancellationToken&) function
Waits for all of the provided Task objects to complete execution.
void System::Threading::Tasks::WaitAll(const ArrayPtr<TaskPtr> &tasks, const CancellationToken &cancellationToken)
Arguments
| Parameter | Type | Description |
|---|---|---|
| tasks | const ArrayPtr<TaskPtr>& | An array of Task instances on which to wait. |
| cancellationToken | const CancellationToken& | A CancellationToken to observe while waiting for the tasks to complete. |
Exceptions
| Exception | Description |
|---|---|
| System.OperationCanceledException | if the cancellationToken is cancelled. |
System::Threading::Tasks::WaitAll(const ArrayPtr<TaskPtr>&) function
Waits for all of the provided Task objects to complete execution.
void System::Threading::Tasks::WaitAll(const ArrayPtr<TaskPtr> &tasks)
Arguments
| Parameter | Type | Description |
|---|---|---|
| tasks | const ArrayPtr<TaskPtr>& | An array of Task instances on which to wait. |
See Also
- Typedef ArrayPtr
- Typedef TaskPtr
- Class CancellationToken
- Namespace System::Threading::Tasks
- Library Aspose.Slides