Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ValueTask<TResult>.Result Property
Definition
- Namespace:
- System.Threading.Tasks
- Assemblies:
- netstandard.dll, System.Runtime.dll
- Assembly:
- System.Threading.Tasks.Extensions.dll
- Assembly:
- System.Runtime.dll
- Assembly:
- netstandard.dll
- Source:
- ValueTask.cs
- Source:
- ValueTask.cs
- Source:
- ValueTask.cs
- Source:
- ValueTask.cs
- Source:
- ValueTask.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.
Gets the result.
public:
property TResult Result { TResult get(); };
public TResult Result { get; }
member this.Result : 'Result
Public ReadOnly Property Result As TResult
Property Value
The result.
Remarks
This property may only be accessed once, and only after this ValueTask<TResult> has completed.
If this ValueTask<TResult> has completed successfully, this property returns the resulting value. If this ValueTask<TResult> has faulted, this property raises an exception. The thrown exception is not wrapped in an AggregateException.
Applies to
Feedback
Was this page helpful?
