次の方法で共有


StreamingResponse<T>.EnumerateValues Method

Definition

Gets the asynchronously enumerable collection of distinct, streamable items in the response.

public System.Collections.Generic.IAsyncEnumerable<T> EnumerateValues ();
member this.EnumerateValues : unit -> System.Collections.Generic.IAsyncEnumerable<'T>
Public Function EnumerateValues () As IAsyncEnumerable(Of T)

Returns

Remarks

The return value of this method may be used with the "await foreach" statement.

As StreamingResponse<T> explicitly implements IAsyncEnumerable<T>, callers may enumerate a StreamingResponse<T> instance directly instead of calling this method.

Applies to