VsTaskAwaiter Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Inheritance Hierarchy

System.Object
  Microsoft.Internal.VisualStudio.Shell.VsTaskAwaiter

Namespace:  Microsoft.Internal.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Class VsTaskAwaiter _
    Implements INotifyCompletion
public class VsTaskAwaiter : INotifyCompletion
public ref class VsTaskAwaiter : INotifyCompletion
type VsTaskAwaiter =  
    class 
        interface INotifyCompletion 
    end
public class VsTaskAwaiter implements INotifyCompletion

The VsTaskAwaiter type exposes the following members.

Properties

  Name Description
Public property IsCompleted

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetResult
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
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Extension Methods

  Name Description
Public Extension Method GetAwaiter Gets the awaiter instance that contains the task that will be used to schedule continuations. Adds await support for an awaiter instance that can be returned from a call to ResumeWith. (Defined by VsTaskLibraryHelper.)

Top

Thread Safety

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

See Also

Reference

Microsoft.Internal.VisualStudio.Shell Namespace