TplExtensions.NoThrowValueTaskAwaiter 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 awaiter that wraps a task and never throws an exception when waited on.
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct TplExtensions.NoThrowValueTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion
[<System.Runtime.CompilerServices.IsReadOnly>]
type TplExtensions.NoThrowValueTaskAwaiter = struct
interface ICriticalNotifyCompletion
interface INotifyCompletion
Public Structure TplExtensions.NoThrowValueTaskAwaiter
Implements ICriticalNotifyCompletion
- Inheritance
-
TplExtensions.NoThrowValueTaskAwaiter
- Attributes
- Implements
Constructors
TplExtensions.NoThrowValueTaskAwaiter(ValueTask, Boolean) |
Initializes a new instance of the TplExtensions.NoThrowValueTaskAwaiter struct. |
Properties
IsCompleted |
Gets a value indicating whether the task has completed. |
Methods
GetResult() |
Does nothing. |
OnCompleted(Action) |
Schedules a delegate for execution at the conclusion of a task's execution. |
UnsafeOnCompleted(Action) |
Schedules a delegate for execution at the conclusion of a task's execution without capturing the ExecutionContext. |