Share via


IAsyncQueryProvider.ExecuteAsync<TResult> Method

Definition

Executes the strongly-typed query represented by a specified expression tree asynchronously.

public TResult ExecuteAsync<TResult> (System.Linq.Expressions.Expression expression, System.Threading.CancellationToken cancellationToken = default);
abstract member ExecuteAsync : System.Linq.Expressions.Expression * System.Threading.CancellationToken -> 'Result
Public Function ExecuteAsync(Of TResult) (expression As Expression, Optional cancellationToken As CancellationToken = Nothing) As TResult

Type Parameters

TResult

Parameters

expression
Expression
cancellationToken
CancellationToken

Returns

TResult

Applies to