IAsyncQueryProviderExecuteAsyncTResult Method |
Executes an expression tree representing a computation over asynchronous enumerable sequences.
Namespace: System.LinqAssembly: System.Interactive.Async.Providers (in System.Interactive.Async.Providers.dll) Version: 1.2.0.0
SyntaxTask<TResult> ExecuteAsync<TResult>(
Expression expression,
CancellationToken token
)
Parameters
- expression
- Type: System.Linq.ExpressionsExpression
The expression tree to evaluate. - token
- Type: System.ThreadingCancellationToken
Cancellation token used to cancel the evaluation.
Type Parameters
- TResult
- The type of the result of evaluating the expression tree.
Return Value
Type:
TaskTResultTask representing the result of evaluating the specified expression tree.
See Also