Bridge

Task..::..Delay Method

Creates a task that completes after a time delay.

Namespace:  System.Threading.Tasks
Assembly:  Bridge (in Bridge.dll)

Syntax


public static Task Delay(
	int millisecondDelay
)
Public Shared Function Delay ( _
	millisecondDelay As Integer _
) As Task
public:
static Task^ Delay(
	int^ millisecondDelay
)

Parameters

millisecondDelay
Type: System..::..Int32

Return Value

A task that represents the time delay.

Exceptions


ExceptionCondition
System..::..ArgumentOutOfRangeExceptionThe millisecondsDelay argument is less than -1.