Share via


VsTaskLibraryHelper.Yield Method

Include Protected Members
Include Inherited Members

Yields the current operation on the thread, so that the rest of the async method is scheduled as a continuation.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member Yield(VsTaskRunContext, IVsTaskCompletionSource) Yields the current operation on the thread, so that the rest of the async method is scheduled as a continuation.
Public methodStatic member Yield(IVsTaskSchedulerService, VsTaskRunContext, IVsTaskCompletionSource) Yields the current operation on the thread. The rest of the asynchronous method will be scheduled as a continuation.

Top

See Also

Reference

VsTaskLibraryHelper Class

Microsoft.VisualStudio.Shell Namespace