IAsyncQueryable<TEntity> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides functionality to evaluate queries against the project system API model.
public interface IAsyncQueryable<TEntity> : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable, System.Collections.Generic.IEnumerable<TEntity>, System.Collections.Generic.IReadOnlyCollection<TEntity>
type IAsyncQueryable<'Entity> = interface
interface IAsyncQueryable
interface IReadOnlyCollection<'Entity>
interface seq<'Entity>
interface IEnumerable
Public Interface IAsyncQueryable(Of TEntity)
Implements IAsyncQueryable, IEnumerable(Of TEntity), IReadOnlyCollection(Of TEntity)
Type Parameters
- TEntity
The type of items in the query result.
- Implements
Methods
QueryAsync(CancellationToken) |
Starts a query and receive results asynchronously. Note: the result can only be accessed once, and cannot be reset. |
QueryAsync(ICommonQueryableSpace, CancellationToken) |
Starts a query and receive results asynchronously. Note: the result can only be accessed once, and cannot be reset. |
SubscribeAsync(ICommonQueryableSpace, IObserver<IQueryResults<TEntity>>, CancellationToken) |
Subscribes results from a query, which automatically reruns when data source is changed. |
SubscribeAsync(ICommonQueryableSpace, IObserver<IQueryResults<TEntity>>) |
Subscribes results from a query, which automatically reruns when data source is changed. |
SubscribeAsync(IObserver<IQueryResults<TEntity>>, CancellationToken) |
Subscribes results from a query, which automatically reruns when data source is changed. |
SubscribeAsync(IObserver<IQueryResults<TEntity>>) |
Subscribes results from a query, which automatically reruns when data source is changed. |
TrackUpdatesAsync(IObserver<IQueryTrackUpdates<TEntity>>, CancellationToken) |
Tracks a query, which automatically reruns when the data source is changed. |