Click or drag to resize
TaskAwaiterTResult Structure
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 struct TaskAwaiter<TResult> : ICriticalNotifyCompletion, 
	INotifyCompletion

Type Parameters

TResult
The return type of the TaskTResult.

The TaskAwaiterTResult type exposes the following members.

Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetResult
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnCompleted
Schedules the continuation onto the TaskTResult associated with this TaskAwaiterTResult.
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Public methodUnsafeOnCompleted
Schedules the continuation onto the TaskTResult associated with this TaskAwaiterTResult.
Top
Properties
  NameDescription
Public propertyIsCompleted
Gets a value indicating whether the task being awaited is completed.
Top
Remarks
This type is intended for compiler use only.
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