Click or drag to resize
CompletedTaskFromResultTResult Method

Namespace: Rackspace.Threading
Assembly: Rackspace.Threading (in Rackspace.Threading.dll) Version: 2.1.0-beta1
Syntax
public static Task<TResult> FromResult<TResult>(
	TResult result
)

Parameters

result
Type: TResult
The result of the completed task.

Type Parameters

TResult
The task result type.

Return Value

Type: TaskTResult
A completed TaskTResult, whose Result property returns the specified result.
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
See Also