AsyncValueTaskMethodBuilder Struct
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.
Represents a builder for asynchronous methods that return a ValueTask.
public value class AsyncValueTaskMethodBuilder
public struct AsyncValueTaskMethodBuilder
type AsyncValueTaskMethodBuilder = struct
Public Structure AsyncValueTaskMethodBuilder
- Inheritance
Task |
Gets the task for this builder. |
Await |
Schedules the state machine to proceed to the next action when the specified awaiter completes. |
Await |
Schedules the state machine to proceed to the next action when the specified awaiter completes. |
Create() |
Creates an instance of the AsyncValueTaskMethodBuilder struct. |
Set |
Marks the task as failed and binds the specified exception to the task. |
Set |
Marks the task as successfully completed. |
Set |
Associates the builder with the specified state machine. |
Start<TState |
Begins running the builder with the associated state machine. |
Produkt | Versiounen |
---|---|
.NET | Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Standard | 2.0 (package-provided), 2.1 |
Feedback zu .NET
.NET ass en Open-Source-Projet. Wielt e Link, fir Feedback ze ginn: