Task Method Builder Struct
Represents a builder for asynchronous methods that return a task.
public value class AsyncTaskMethodBuilder
public struct AsyncTaskMethodBuilder
type AsyncTaskMethodBuilder = struct
Public Structure AsyncTaskMethodBuilder
This type and its members are intended for use by the compiler.
Gets the task for this builder.
Schedules the state machine to proceed to the next action when the specified awaiter completes.
Schedules the state machine to proceed to the next action when the specified awaiter completes. This method can be called from partially trusted code.
Creates an instance of the AsyncTaskMethodBuilder type.
Marks the task as failed and binds the specified exception to the task.
Marks the task as successfully completed.
Associates the builder with the specified state machine.
Begins running the builder with the associated state machine.