VsTaskLibraryHelper::ResumeWith Method (IVsTask^, VsTaskRunContext)

 

Extension method for task awaiter to support awaits with a specific context.

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

public:
[ExtensionAttribute]
static VsTaskAwaiter^ ResumeWith(
	IVsTask^ task,
	VsTaskRunContext context
)

Parameters

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

[in] The task that will be used to schedule continuations.

context
Type: Microsoft.VisualStudio.Shell::VsTaskRunContext

[in] The context under which the continuation would be scheduled.

Return Value

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

The awaitable object.

Return to top
Show: