FromAsync Method

Task Parallel System.Threading

Overload List

  NameDescription
FromAsync(IAsyncResult, Action<(Of <(IAsyncResult>)>))
Creates a Task that executes an end method action when a specified IAsyncResult completes.
FromAsync<(Of <(TResult>)>)(IAsyncResult, Func<(Of <(IAsyncResult, TResult>)>))
Creates a Task that executes an end method function when a specified IAsyncResult completes.
FromAsync(Func<(Of <(AsyncCallback, Object, IAsyncResult>)>), Action<(Of <(IAsyncResult>)>), Object)
Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
FromAsync<(Of <(TResult>)>)(Func<(Of <(AsyncCallback, Object, IAsyncResult>)>), Func<(Of <(IAsyncResult, TResult>)>), Object)
Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
FromAsync(IAsyncResult, Action<(Of <(IAsyncResult>)>), TaskCreationOptions)
Creates a Task that executes an end method action when a specified IAsyncResult completes.
FromAsync<(Of <(TResult>)>)(IAsyncResult, Func<(Of <(IAsyncResult, TResult>)>), TaskCreationOptions)
Creates a Task that executes an end method function when a specified IAsyncResult completes.
FromAsync(Func<(Of <(AsyncCallback, Object, IAsyncResult>)>), Action<(Of <(IAsyncResult>)>), Object, TaskCreationOptions)
Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
FromAsync<(Of <(TResult>)>)(Func<(Of <(AsyncCallback, Object, IAsyncResult>)>), Func<(Of <(IAsyncResult, TResult>)>), Object, TaskCreationOptions)
Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
FromAsync<(Of <(TArg1>)>)(Func<(Of <(TArg1, AsyncCallback, Object, IAsyncResult>)>), Action<(Of <(IAsyncResult>)>), TArg1, Object)
Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
FromAsync<(Of <(TArg1, TResult>)>)(Func<(Of <(TArg1, AsyncCallback, Object, IAsyncResult>)>), Func<(Of <(IAsyncResult, TResult>)>), TArg1, Object)
Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
FromAsync(IAsyncResult, Action<(Of <(IAsyncResult>)>), TaskCreationOptions, TaskScheduler)
Creates a Task that executes an end method action when a specified IAsyncResult completes.
FromAsync<(Of <(TResult>)>)(IAsyncResult, Func<(Of <(IAsyncResult, TResult>)>), TaskCreationOptions, TaskScheduler)
Creates a Task that executes an end method function when a specified IAsyncResult completes.
FromAsync<(Of <(TArg1>)>)(Func<(Of <(TArg1, AsyncCallback, Object, IAsyncResult>)>), Action<(Of <(IAsyncResult>)>), TArg1, Object, TaskCreationOptions)
Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
FromAsync<(Of <(TArg1, TResult>)>)(Func<(Of <(TArg1, AsyncCallback, Object, IAsyncResult>)>), Func<(Of <(IAsyncResult, TResult>)>), TArg1, Object, TaskCreationOptions)
Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
FromAsync<(Of <(TArg1, TArg2>)>)(Func<(Of <(TArg1, TArg2, AsyncCallback, Object, IAsyncResult>)>), Action<(Of <(IAsyncResult>)>), TArg1, TArg2, Object)
Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
FromAsync<(Of <(TArg1, TArg2, TResult>)>)(Func<(Of <(TArg1, TArg2, AsyncCallback, Object, IAsyncResult>)>), Func<(Of <(IAsyncResult, TResult>)>), TArg1, TArg2, Object)
Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
FromAsync<(Of <(TArg1, TArg2, TArg3>)>)(Func_<(Of <(TArg1, TArg2, TArg3, AsyncCallback, Object, IAsyncResult>)>), Action<(Of <(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.
FromAsync<(Of <(TArg1, TArg2, TArg3, TResult>)>)(Func_<(Of <(TArg1, TArg2, TArg3, AsyncCallback, Object, IAsyncResult>)>), Func<(Of <(IAsyncResult, TResult>)>), TArg1, TArg2, TArg3, Object)
Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
FromAsync<(Of <(TArg1, TArg2>)>)(Func<(Of <(TArg1, TArg2, AsyncCallback, Object, IAsyncResult>)>), Action<(Of <(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.
FromAsync<(Of <(TArg1, TArg2, TResult>)>)(Func<(Of <(TArg1, TArg2, AsyncCallback, Object, IAsyncResult>)>), Func<(Of <(IAsyncResult, TResult>)>), TArg1, TArg2, Object, TaskCreationOptions)
Creates a Task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
FromAsync<(Of <(TArg1, TArg2, TArg3>)>)(Func_<(Of <(TArg1, TArg2, TArg3, AsyncCallback, Object, IAsyncResult>)>), Action<(Of <(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.
FromAsync<(Of <(TArg1, TArg2, TArg3, TResult>)>)(Func_<(Of <(TArg1, TArg2, TArg3, AsyncCallback, Object, IAsyncResult>)>), Func<(Of <(IAsyncResult, TResult>)>), 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.

See Also