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

Namespace: Microsoft.Runtime.CompilerServices
Assembly: Rackspace.Threading (in Rackspace.Threading.dll) Version: 2.1.0-beta1
Syntax
public TResult GetResult()

Return Value

Type: TResult
The result of the completed TaskTResult.
Exceptions
ExceptionCondition
NullReferenceExceptionThe awaiter was not properly initialized.
InvalidOperationExceptionThe task was not yet completed.
TaskCanceledExceptionThe task was canceled.
ExceptionThe task completed in a Faulted state.
Version Information

.NET for Windows Store apps

Supported in: Windows 8

.NET Framework

Supported in: 4.5, 3.5

Portable Class Library

Supported in: Portable Class Library

Threading Library

Supported in: 2.1
See Also