共用方式為


VsTaskLibraryHelper.GetAwaiter Method

Include Protected Members
Include Inherited Members

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 GetAwaiter(IVsTask) Gets the task to be used for scheduling continuations.
Public methodStatic member GetAwaiter(VsTaskAwaiter) 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.

Top

See Also

Reference

VsTaskLibraryHelper Class

Microsoft.VisualStudio.Shell Namespace