Click or drag to resize
AsyncTaskMethodBuilderTResultSetResult Method
This API is preliminary and subject to change.

Namespace: System.Runtime.CompilerServices
Assembly: Rackspace.Threading (in Rackspace.Threading.dll) Version: 2.1.0-beta1
Syntax
public void SetResult(
	TResult result
)

Parameters

result
Type: TResult
The result to use to complete the task.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe task has already completed.
Version Information

.NET Framework

Supported in: 3.5

Threading Library

Supported in: 2.1
See Also