VsTaskLibraryHelper::GetAwaiter Method (IVsTask^)

 

Internal use only. Gets the task to be used for scheduling continuations.

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

public:
[ExtensionAttribute]
static VsTaskAwaiter^ GetAwaiter(
	IVsTask^ task
)

Parameters

task
Type: Microsoft.VisualStudio.Shell.Interop::IVsTask^

[in] The task to be used for scheduling continuations.

Return Value

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

An awaitable object for the IVsTask instance.

Return to top
Show: