Click to Rate and Give Feedback
MSDN
MSDN Library
Collapse All/Expand All Collapse All
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
.NET Framework Class Library
TaskFactory..::.FromAsync<(Of <(TResult>)>) Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

  NameDescription
Public methodFromAsync<(Of <(TResult>)>)(IAsyncResult, Func<(Of <(IAsyncResult, TResult>)>))Creates a Task<(Of <(TResult>)>) that executes an end method function when a specified IAsyncResult completes.
Public methodFromAsync<(Of <(TResult>)>)(Func<(Of <(AsyncCallback, Object, IAsyncResult>)>), Func<(Of <(IAsyncResult, TResult>)>), Object)Creates a Task<(Of <(TResult>)>) that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
Public methodFromAsync<(Of <(TResult>)>)(IAsyncResult, Func<(Of <(IAsyncResult, TResult>)>), TaskCreationOptions)Creates a Task<(Of <(TResult>)>) that executes an end method function when a specified IAsyncResult completes.
Public methodFromAsync<(Of <(TResult>)>)(Func<(Of <(AsyncCallback, Object, IAsyncResult>)>), Func<(Of <(IAsyncResult, TResult>)>), Object, TaskCreationOptions)Creates a Task<(Of <(TResult>)>) that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
Public methodFromAsync<(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.
Public methodFromAsync<(Of <(TResult>)>)(IAsyncResult, Func<(Of <(IAsyncResult, TResult>)>), TaskCreationOptions, TaskScheduler)Creates a Task<(Of <(TResult>)>) that executes an end method function when a specified IAsyncResult completes.
Public methodFromAsync<(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.
Top
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker