Task.Delay Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Creates a Task that will complete after a time delay.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
Delay(Int32) | Creates a Task that will complete after a time delay. |
|
Delay(TimeSpan) | Creates a Task that will complete after a time delay. |
|
Delay(Int32, CancellationToken) | Creates a Task that will complete after a time delay. |
|
Delay(TimeSpan, CancellationToken) | Creates a Task that will complete after a time delay. |
Show: