ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult Method

Definition

Ends the await on the completed task.

public:
 void GetResult();
public void GetResult ();
member this.GetResult : unit -> unit
Public Sub GetResult ()

Exceptions

The awaiter was not properly initialized.

The task was canceled.

The task completed in a faulted state.

Remarks

This method is intended for compiler use; do not use it directly in your code.

Applies to