Click or drag to resize
DelayedTaskYield Method
This API is preliminary and subject to change.
Creates an awaitable task that asynchronously yields back to the current context when awaited.

Namespace: Rackspace.Threading
Assembly: Rackspace.Threading (in Rackspace.Threading.dll) Version: 2.1.0-beta1
Syntax
[CLSCompliantAttribute(true)]
public static YieldAwaitable Yield()

Return Value

Type: YieldAwaitable
A context that, when awaited, will asynchronously transition back into the current context at the time of the await. If the current SynchronizationContext is non-, it is treated as the current context. Otherwise, the task scheduler that is associated with the currently executing task is treated as the current context.
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
See Also