TplExtensions.NoThrowValueTaskAwaitable<TResult> Struct
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.
An awaitable that wraps a ValueTask<TResult> and never throws an exception when waited on.
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct TplExtensions.NoThrowValueTaskAwaitable<TResult>
[<System.Runtime.CompilerServices.IsReadOnly>]
type TplExtensions.NoThrowValueTaskAwaitable<'Result> = struct
Public Structure TplExtensions.NoThrowValueTaskAwaitable(Of TResult)
Type Parameters
- TResult
The type of the result.
- Inheritance
-
TplExtensions.NoThrowValueTaskAwaitable<TResult>
- Attributes
Constructors
TplExtensions.NoThrowValueTaskAwaitable<TResult>(ValueTask<TResult>, Boolean) |
Initializes a new instance of the TplExtensions.NoThrowValueTaskAwaitable<TResult> struct. |
Methods
GetAwaiter() |
Gets the awaiter. |