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 | |
---|---|---|
IsCompleted |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetResult | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnCompleted | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Extension Methods
Name | Description | |
---|---|---|
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.