IAsyncQueryProvider.ExecuteAsync<TResult> 方法

定义

异步执行由指定的表达式树表示的强类型查询。

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

类型参数

TResult

参数

expression
Expression
cancellationToken
CancellationToken

返回

TResult

适用于