ConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiter.GetResult Method
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.
Ends the await on the completed task.
public:
TResult GetResult();
public TResult GetResult ();
member this.GetResult : unit -> 'Result
Public Function GetResult () As TResult
Returns
TResult
The result of the completed task.
Exceptions
The awaiter was not properly initialized.
The task was canceled.
The task completed in a faulted state.
The task was canceled.
Remarks
This method is intended for compiler use; do not use it directly in your code.
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.