Click or drag to resize
TaskBlocks Class
Provides methods for creating tasks which emulate the behavior of / without requiring the use of those keywords.
Inheritance Hierarchy
SystemObject
  Rackspace.ThreadingTaskBlocks

Namespace: Rackspace.Threading
Assembly: Rackspace.Threading (in Rackspace.Threading.dll) Version: 2.1.0-beta1
Syntax
public static class TaskBlocks
Methods
  NameDescription
Public methodStatic memberCode exampleUsingTResource(FuncTaskTResource, FuncTaskTResource, Task)
Provides support for resource cleanup in asynchronous code where the / keywords are not available.
Public methodStatic memberCode exampleUsingTResource, TResult(FuncTaskTResource, FuncTaskTResource, TaskTResult)
Provides support for resource cleanup in asynchronous code where the / keywords are not available.
Public methodStatic memberCode exampleWhile(FuncBoolean, FuncTask)
Provides support for a conditional "while" loop in asynchronous code, without requiring the use of /.
Public methodStatic memberCode exampleWhile(FuncTaskBoolean, FuncTask)
Provides support for a conditional "while" loop in asynchronous code, without requiring the use of /.
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, 1.0
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