Creates a System.Threading.Tasks.Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
![]()
The created System.Threading.Tasks.Task that represents the asynchronous operation.
The beginMethod delegate is started on the thread that erload:System.Threading.Tasks.TaskFactory.FromAsync is running on. This method throws any exceptions thrown by the beginMethod.