你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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