VsTaskLibraryHelper::GetAwaiter Method (VsTaskAwaiter^)

 

Internal use only. 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.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
[ExtensionAttribute]
static VsTaskAwaiter^ GetAwaiter(
	VsTaskAwaiter^ awaiter
)

Parameters

awaiter
Type: Microsoft.Internal.VisualStudio.Shell::VsTaskAwaiter^

[in] Awaiter that contains the task that will be used to schedule continuations.

Return Value

Type: Microsoft.Internal.VisualStudio.Shell::VsTaskAwaiter^

The same instance of the awaiter on which this method was called.

This method returns the same awaiter as the one provided in the awaiter parameter.

Return to top
Show: