VsTaskLibraryHelper::Delay Method (IVsTaskSchedulerService^, Double)

 

Retrieves a task that delays execution of the subsequent task by a given period of time.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
static IVsTask^ Delay(
	IVsTaskSchedulerService^ scheduler,
	double delayMilliseconds
)

Parameters

scheduler
Type: Microsoft.VisualStudio.Shell.Interop::IVsTaskSchedulerService^

[in] The task scheduler service.

delayMilliseconds
Type: System::Double

[in] The number of milliseconds to delay the subsequent task.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop::IVsTask^

The delaying task.

Return to top
Show: