Task::Wait Method
.NET Framework (current version)
Waits for the Task to complete execution.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | Wait() | Waits for the Task to complete execution. |
![]() | Wait(CancellationToken) | Waits for the Task to complete execution. The wait terminates if a cancellation token is canceled before the task completes. |
![]() | Wait(Int32) | Waits for the Task to complete execution within a specified number of milliseconds. |
![]() | Wait(Int32, CancellationToken) | Waits for the Task to complete execution. The wait terminates if a timeout interval elapses or a cancellation token is canceled before the task completes. |
![]() | Wait(TimeSpan) | Waits for the Task to complete execution within a specified time interval. |
Show:
