Click or drag to resize
IAsyncQueryProviderExecuteAsyncTResult Method
Executes an expression tree representing a computation over asynchronous enumerable sequences.

Namespace: System.Linq
Assembly: System.Interactive.Async.Providers (in System.Interactive.Async.Providers.dll) Version: 1.2.0.0
Syntax
C#
Task<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: TaskTResult
Task representing the result of evaluating the specified expression tree.
See Also