ValueTaskSourceOnCompletedFlags Enum
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.
Provides flags passed from ValueTask and ValueTask<TResult> to the OnCompleted
method to control the behavior of a continuation.
This enumeration supports a bitwise combination of its member values.
public enum class ValueTaskSourceOnCompletedFlags
[System.Flags]
public enum ValueTaskSourceOnCompletedFlags
[<System.Flags>]
type ValueTaskSourceOnCompletedFlags =
Public Enum ValueTaskSourceOnCompletedFlags
- Inheritance
- Attributes
Fields
FlowExecutionContext | 2 |
|
None | 0 | No requirements are placed on how the continuation is invoked. |
UseSchedulingContext | 1 |
|
Remarks
This value is passed from a ValueTask to the OnCompleted method, and from a System.Threading.Tasks.ValueTask<TResult> to the IValueTaskSource<TResult>.OnCompleted method.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για