Click or drag to resize
AsyncQueryableAsAsyncQueryableTElement Method
Converts the specified asynchronous enumerable sequence to an expression representation.

Namespace: System.Linq
Assembly: System.Interactive.Async.Providers (in System.Interactive.Async.Providers.dll) Version: 1.2.0.0
Syntax
C#
public static IAsyncQueryable<TElement> AsAsyncQueryable<TElement>(
	this IAsyncEnumerable<TElement> source
)

Parameters

source
Type: System.Collections.GenericIAsyncEnumerableTElement
The asynchronous enumerable sequence to represent using an expression tree.

Type Parameters

TElement
The type of the elements in the sequence.

Return Value

Type: IAsyncQueryableTElement
An asynchronous enumerable sequence using an expression tree to represent the specified asynchronous enumerable sequence.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IAsyncEnumerableTElement. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also