ConfiguredCancelableAsyncEnumerable<T>.GetAsyncEnumerator 方法

定义

返回一个枚举器,该枚举器通过集合进行异步迭代,支持可取消的迭代和配置的等待。Returns an enumerator that iterates asynchronously through collections that enables cancelable iteration and configured awaits.

public:
 System::Runtime::CompilerServices::ConfiguredCancelableAsyncEnumerable<T>::Enumerator GetAsyncEnumerator();
public System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<T>.Enumerator GetAsyncEnumerator ();
member this.GetAsyncEnumerator : unit -> System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<'T>.Enumerator
Public Function GetAsyncEnumerator () As ConfiguredCancelableAsyncEnumerable(Of T).Enumerator

返回

ConfiguredCancelableAsyncEnumerable<T>.Enumerator

用于 ConfiguredCancelableAsyncEnumerable<T> 类的枚举器。An enumerator for the ConfiguredCancelableAsyncEnumerable<T> class.

适用于