Compartilhar via


VsTaskLibraryHelper.RunAsync Method

Include Protected Members
Include Inherited Members

Wraps the invocation of an async method so that it may execute asynchronously but also may be synchronously completed (waited on) in the future.

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 RunAsync<T>(JoinableTaskFactory, VsTaskRunContext, Func<Task<T>>)
Public methodStatic member RunAsync(JoinableTaskFactory, VsTaskRunContext, Func<Task>)

Top

See Also

Reference

VsTaskLibraryHelper Class

Microsoft.VisualStudio.Shell Namespace