共用方式為


JoinableTaskFactory.Run Method

Include Protected Members
Include Inherited Members

Runs the asynchronous method.

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 method Run<T>(Func<Task<T>>) Runs the specified asynchronous method.
Public method Run(Func<Task>) Runs the specified asynchronous method.

Top

See Also

Reference

JoinableTaskFactory Class

Microsoft.VisualStudio.Threading Namespace