Click or drag to resize
DelayedTask Class
This class provides methods for creating Task instances that represent delays of a fixed duration or operations to wait on one or more other tasks to complete.
Inheritance Hierarchy
SystemObject
  Rackspace.ThreadingDelayedTask

Namespace: Rackspace.Threading
Assembly: Rackspace.Threading (in Rackspace.Threading.dll) Version: 2.1.0-beta1
Syntax
public static class DelayedTask

The DelayedTask type exposes the following members.

Methods
  NameDescription
Public methodStatic memberDelay(TimeSpan)
Creates a task that will complete after a time delay.
Public methodStatic memberDelay(TimeSpan, CancellationToken)
Creates a task that will complete after a time delay.
Public methodStatic memberWhenAll(IEnumerableTask)
Creates a task that will complete when all of the supplied tasks have completed.
Public methodStatic memberWhenAll(Task)
Creates a task that will complete when all of the supplied tasks have completed.
Public methodStatic memberWhenAllTResult(IEnumerableTaskTResult)
Creates a task that will complete when all of the supplied tasks have completed.
Public methodStatic memberWhenAllTResult(TaskTResult)
Creates a task that will complete when all of the supplied tasks have completed.
Public methodStatic memberWhenAny(IEnumerableTask)
Creates a task that will complete when any of the supplied tasks have completed.
Public methodStatic memberWhenAny(Task)
Creates a task that will complete when any of the supplied tasks have completed.
Public methodStatic memberWhenAnyTResult(IEnumerableTaskTResult)
Creates a task that will complete when any of the supplied tasks have completed.
Public methodStatic memberWhenAnyTResult(TaskTResult)
Creates a task that will complete when any of the supplied tasks have completed.
Public methodStatic memberYield
Creates an awaitable task that asynchronously yields back to the current context when awaited.
Top
Version Information

.NET for Windows Store apps

Supported in: Windows 8

.NET Framework

Supported in: 4.5, 4.0, 3.5

Portable Class Library

Supported in: Portable Class Library (Legacy), Portable Class Library

Threading Library

Supported in: 2.1, 2.0, 1.1
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also