TplExtensions.NoThrowTaskAwaiter 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.
An awaiter that wraps a task and never throws an exception when waited on.
public: value class TplExtensions::NoThrowTaskAwaiter : System::Runtime::CompilerServices::INotifyCompletion
public: value class TplExtensions::NoThrowTaskAwaiter : System::Runtime::CompilerServices::ICriticalNotifyCompletion
public struct TplExtensions.NoThrowTaskAwaiter : System.Runtime.CompilerServices.INotifyCompletion
public struct TplExtensions.NoThrowTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct TplExtensions.NoThrowTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion
type TplExtensions.NoThrowTaskAwaiter = struct
interface INotifyCompletion
type TplExtensions.NoThrowTaskAwaiter = struct
interface ICriticalNotifyCompletion
interface INotifyCompletion
[<System.Runtime.CompilerServices.IsReadOnly>]
type TplExtensions.NoThrowTaskAwaiter = struct
interface ICriticalNotifyCompletion
interface INotifyCompletion
Public Structure TplExtensions.NoThrowTaskAwaiter
Implements INotifyCompletion
Public Structure TplExtensions.NoThrowTaskAwaiter
Implements ICriticalNotifyCompletion
- Inheritance
-
TplExtensions.NoThrowTaskAwaiter
- Attributes
- Implements
Tpl |
Initializes a new instance of the TplExtensions.NoThrowTaskAwaiter struct. |
Is |
Gets a value indicating whether the task has completed. |
Get |
Does nothing. |
On |
Schedules a delegate for execution at the conclusion of a task's execution. |
Unsafe |
Schedules a delegate for execution at the conclusion of a task's execution without capturing the ExecutionContext. |
Product | Versions |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |
This type is thread-safe for all members.