Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ConfiguredTaskAwaitable<TResult> Struct
Definition
- Namespace:
- System.Runtime.CompilerServices
- Assemblies:
- mscorlib.dll, System.Threading.Tasks.dll
- Assemblies:
- netstandard.dll, System.Runtime.dll
- Assembly:
- System.Threading.Tasks.dll
- Assembly:
- System.Runtime.dll
- Assembly:
- mscorlib.dll
- Assembly:
- netstandard.dll
- Source:
- TaskAwaiter.cs
- Source:
- TaskAwaiter.cs
- Source:
- TaskAwaiter.cs
- Source:
- TaskAwaiter.cs
- Source:
- TaskAwaiter.cs
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.
Provides an awaitable object that enables configured awaits on a task.
generic <typename TResult>
public value class ConfiguredTaskAwaitable
public struct ConfiguredTaskAwaitable<TResult>
public readonly struct ConfiguredTaskAwaitable<TResult>
type ConfiguredTaskAwaitable<'Result> = struct
Public Structure ConfiguredTaskAwaitable(Of TResult)
Type Parameters
- TResult
The type of the result produced by this Task<TResult>.
- Inheritance
Remarks
This type is intended for compiler use; do not use it directly in your code.
Methods
| Name | Description |
|---|---|
| GetAwaiter() |
Returns an awaiter for this awaitable object. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
Was this page helpful?
