TplExtensions.NoThrowTaskAwaitable 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 task and never throws an exception when waited on.
public: value class TplExtensions::NoThrowTaskAwaitable
struct TplExtensions::NoThrowTaskAwaitable
public struct TplExtensions.NoThrowTaskAwaitable
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct TplExtensions.NoThrowTaskAwaitable
type TplExtensions.NoThrowTaskAwaitable = struct
[<System.Runtime.CompilerServices.IsReadOnly>]
type TplExtensions.NoThrowTaskAwaitable = struct
Public Structure TplExtensions.NoThrowTaskAwaitable
- Inheritance
-
TplExtensions.NoThrowTaskAwaitable
- Attributes
Constructors
TplExtensions.NoThrowTaskAwaitable(Task, Boolean) |
Initializes a new instance of the TplExtensions.NoThrowTaskAwaitable struct. |
Methods
GetAwaiter() |
Gets the awaiter. |
Applies to
Thread Safety
This type is thread-safe for all members.