Task..::..Delay Method
Creates a task that completes after a time delay.
Namespace:
System.Threading.TasksAssembly: Bridge (in Bridge.dll)
Syntax
Parameters
- millisecondDelay
- Type: System..::..Int32
Return Value
A task that represents the time delay.Exceptions
Exception | Condition |
---|---|
System..::..ArgumentOutOfRangeException | The millisecondsDelay argument is less than -1. |