TaskFactory::FromAsync Method

 

Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

Namespace:   System.Threading.Tasks
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodFromAsync(Func<AsyncCallback^, Object^, IAsyncResult^>^, Action<IAsyncResult^>^, Object^)

Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

System_CAPS_pubmethodFromAsync(Func<AsyncCallback^, Object^, IAsyncResult^>^, Action<IAsyncResult^>^, Object^, TaskCreationOptions)

Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

System_CAPS_pubmethodFromAsync(IAsyncResult^, Action<IAsyncResult^>^)

Creates a Task that executes an end method action when a specified IAsyncResult completes.

System_CAPS_pubmethodFromAsync(IAsyncResult^, Action<IAsyncResult^>^, TaskCreationOptions)

Creates a Task that executes an end method action when a specified IAsyncResult completes.

System_CAPS_pubmethodFromAsync(IAsyncResult^, Action<IAsyncResult^>^, TaskCreationOptions, TaskScheduler^)

Creates a Task that executes an end method action when a specified IAsyncResult completes.

System_CAPS_pubmethodFromAsync<TArg1>(Func<TArg1, AsyncCallback^, Object^, IAsyncResult^>^, Action<IAsyncResult^>^, TArg1, Object^)

Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

System_CAPS_pubmethodFromAsync<TArg1>(Func<TArg1, AsyncCallback^, Object^, IAsyncResult^>^, Action<IAsyncResult^>^, TArg1, Object^, TaskCreationOptions)

Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

System_CAPS_pubmethodFromAsync<TResult>(Func<AsyncCallback^, Object^, IAsyncResult^>^, Func<IAsyncResult^, TResult>^, Object^)

Creates a Task<TResult> that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

System_CAPS_pubmethodFromAsync<TResult>(Func<AsyncCallback^, Object^, IAsyncResult^>^, Func<IAsyncResult^, TResult>^, Object^, TaskCreationOptions)

Creates a Task<TResult> that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

System_CAPS_pubmethodFromAsync<TResult>(IAsyncResult^, Func<IAsyncResult^, TResult>^)

Creates a Task<TResult> that executes an end method function when a specified IAsyncResult completes.

System_CAPS_pubmethodFromAsync<TResult>(IAsyncResult^, Func<IAsyncResult^, TResult>^, TaskCreationOptions)

Creates a Task<TResult> that executes an end method function when a specified IAsyncResult completes.

System_CAPS_pubmethodFromAsync<TResult>(IAsyncResult^, Func<IAsyncResult^, TResult>^, TaskCreationOptions, TaskScheduler^)

Creates a Task<TResult> that executes an end method function when a specified IAsyncResult completes.

System_CAPS_pubmethodFromAsync<TArg1, TArg2>(Func<TArg1, TArg2, AsyncCallback^, Object^, IAsyncResult^>^, Action<IAsyncResult^>^, TArg1, TArg2, Object^)

Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

System_CAPS_pubmethodFromAsync<TArg1, TArg2>(Func<TArg1, TArg2, AsyncCallback^, Object^, IAsyncResult^>^, Action<IAsyncResult^>^, TArg1, TArg2, Object^, TaskCreationOptions)

Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

System_CAPS_pubmethodFromAsync<TArg1, TResult>(Func<TArg1, AsyncCallback^, Object^, IAsyncResult^>^, Func<IAsyncResult^, TResult>^, TArg1, Object^)

Creates a Task<TResult> that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

System_CAPS_pubmethodFromAsync<TArg1, TResult>(Func<TArg1, AsyncCallback^, Object^, IAsyncResult^>^, Func<IAsyncResult^, TResult>^, TArg1, Object^, TaskCreationOptions)

Creates a Task<TResult> that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

System_CAPS_pubmethodFromAsync<TArg1, TArg2, TArg3>(Func<TArg1, TArg2, TArg3, AsyncCallback^, Object^, IAsyncResult^>^, Action<IAsyncResult^>^, TArg1, TArg2, TArg3, Object^)

Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

System_CAPS_pubmethodFromAsync<TArg1, TArg2, TArg3>(Func<TArg1, TArg2, TArg3, AsyncCallback^, Object^, IAsyncResult^>^, Action<IAsyncResult^>^, TArg1, TArg2, TArg3, Object^, TaskCreationOptions)

Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

System_CAPS_pubmethodFromAsync<TArg1, TArg2, TResult>(Func<TArg1, TArg2, AsyncCallback^, Object^, IAsyncResult^>^, Func<IAsyncResult^, TResult>^, TArg1, TArg2, Object^)

Creates a Task<TResult> that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

System_CAPS_pubmethodFromAsync<TArg1, TArg2, TResult>(Func<TArg1, TArg2, AsyncCallback^, Object^, IAsyncResult^>^, Func<IAsyncResult^, TResult>^, TArg1, TArg2, Object^, TaskCreationOptions)

Creates a Task<TResult> that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

System_CAPS_pubmethodFromAsync<TArg1, TArg2, TArg3, TResult>(Func<TArg1, TArg2, TArg3, AsyncCallback^, Object^, IAsyncResult^>^, Func<IAsyncResult^, TResult>^, TArg1, TArg2, TArg3, Object^)

Creates a Task<TResult> that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

System_CAPS_pubmethodFromAsync<TArg1, TArg2, TArg3, TResult>(Func<TArg1, TArg2, TArg3, AsyncCallback^, Object^, IAsyncResult^>^, Func<IAsyncResult^, TResult>^, TArg1, TArg2, TArg3, Object^, TaskCreationOptions)

Creates a Task<TResult> that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

Return to top
Show: