Task.Delay Method
.NET Framework 4.5
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. |