TaskAwaiter(TResult) Methods
Collapse the table of content
Expand the table of content

TaskAwaiter<TResult> Methods

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

The TaskAwaiter<TResult> type exposes the following members.

  NameDescription
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetResult Ends the wait for the completion of the asynchronous task.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method OnCompleted Sets the action to perform when the TaskAwaiter<TResult> object stops waiting for the asynchronous task to complete.
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)
Public method UnsafeOnCompleted Security Critical. Schedules the continuation action for the asynchronous task associated with this awaiter.
Top

Show:
© 2017 Microsoft