.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

XPQueryExtensions.AnyAsync Method

Name Parameters Description
AnyAsync<T>(IQueryable<T>, CancellationToken) static query, cancellationToken

Asynchronously checks whether any objects exist in a selection.

AnyAsync<T>(IQueryable<T>, Expression<Func<T, Boolean>>, CancellationToken) static query, predicate, cancellationToken

Asynchronously checks whether any object in a selection meets specific requirements.