ConfiguredTaskAwaitable.ConfiguredTaskAwaiter Structure
TOC
Collapse the table of content
Expand the table of content

ConfiguredTaskAwaitable.ConfiguredTaskAwaiter Structure

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Provides an awaiter for a ConfiguredTaskAwaitable.

Namespace:  System.Runtime.CompilerServices
Assembly:  mscorlib (in mscorlib.dll)

public struct ConfiguredTaskAwaiter : ICriticalNotifyCompletion, 
	INotifyCompletion

The ConfiguredTaskAwaitable.ConfiguredTaskAwaiter type exposes the following members.

  NameDescription
Public propertyIsCompletedGets a value that specifies whether the task being awaited is completed.
Top

  NameDescription
Public methodEqualsIndicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from ValueType.)
Public methodGetResultEnds the await on the completed Task.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodOnCompletedSchedules the continuation onto the Task associated with this TaskAwaiter.
Public methodToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)
Public methodUnsafeOnCompletedSecurity Critical. Schedules the continuation onto the Task associated with this TaskAwaiter.
Top

This type is intended for compiler use only.

Windows Phone OS

Supported in: 8.1, 8.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Show:
© 2016 Microsoft