IAsyncEnumerator<T> 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.
Supports a simple asynchronous iteration over a generic collection.
generic <typename T>
public interface class IAsyncEnumerator : IAsyncDisposable
public interface IAsyncEnumerator<out T> : IAsyncDisposable
type IAsyncEnumerator<'T> = interface
interface IAsyncDisposable
Public Interface IAsyncEnumerator(Of Out T)
Implements IAsyncDisposable
Type Parameters
- T
The type of the elements in the collection.
This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.- Implements
Properties
Current |
Gets the element in the collection at the current position of the enumerator. |
Methods
DisposeAsync() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously. (Inherited from IAsyncDisposable) |
MoveNextAsync() |
Advances the enumerator asynchronously to the next element of the collection. |
Extension Methods
ConfigureAwait(IAsyncDisposable, Boolean) |
Configures how awaits on the tasks returned from an async disposable are performed. |
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기