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.
Represents a builder for asynchronous methods that returns a ValueTask<TResult>.
generic <typename TResult>
public value class PoolingAsyncValueTaskMethodBuilder
public struct PoolingAsyncValueTaskMethodBuilder<TResult>
type PoolingAsyncValueTaskMethodBuilder<'Result> = struct
Public Structure PoolingAsyncValueTaskMethodBuilder(Of TResult)
The type of the result.
Task |
Gets the value 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 PoolingAsyncValueTaskMethodBuilder<TResult> struct. |
Set |
Marks the value task as failed and binds the specified exception to the value task. |
Set |
Marks the value task as successfully completed. |
Set |
Associates the builder with the specified state machine. |
Start<TState |
Begins running the builder with the associated state machine. |
Product | Versions |
---|---|
.NET | 6, 7, 8, 9, 10 |
.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