A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.microsoft.com/en-us/dotnet/api/system.threading.tasks.configureawaitoptions below:

ConfigureAwaitOptions Enum (System.Threading.Tasks) | Microsoft Learn

ConfigureAwaitOptions Enum Definition

Options to control behavior when awaiting.

This enumeration supports a bitwise combination of its member values.

public enum class ConfigureAwaitOptions
[System.Flags]
public enum ConfigureAwaitOptions
[<System.Flags>]
type ConfigureAwaitOptions = 
Public Enum ConfigureAwaitOptions
Inheritance
Attributes
Fields Name Value Description None 0

No options specified.

ContinueOnCapturedContext 1

Attempts to marshal the continuation back to the original SynchronizationContext or TaskScheduler present on the originating thread at the time of the await.

SuppressThrowing 2

Avoids throwing an exception at the completion of awaiting a Task that ends in the Faulted or Canceled state.

ForceYielding 4

Forces an await on an already completed Task to behave as if the Task wasn't yet completed, such that the current asynchronous method will be forced to yield its execution.

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4