Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Provides an awaitable async enumerable that enables cancelable iteration and configured awaits.
generic <typename T>
public value class ConfiguredCancelableAsyncEnumerable
public readonly struct ConfiguredCancelableAsyncEnumerable<T> where T : allows ref struct
public readonly struct ConfiguredCancelableAsyncEnumerable<T>
type ConfiguredCancelableAsyncEnumerable<'T> = struct
Public Structure ConfiguredCancelableAsyncEnumerable(Of T)
The type of values to enumerate.
Configure |
Configures how awaits on the tasks returned from an async iteration will be performed. |
Get |
Returns an enumerator that iterates asynchronously through collections that enables cancelable iteration and configured awaits. |
With |
Sets the CancellationToken to be passed to GetAsyncEnumerator(CancellationToken) when iterating. |
Product | Versions |
---|---|
.NET | Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 4.6.2 (package-provided), 4.7 (package-provided) |
.NET Standard | 2.0 (package-provided), 2.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in