TaskAwaiter.GetResult TaskAwaiter.GetResult TaskAwaiter.GetResult TaskAwaiter.GetResult Method

Definition

Ends the wait for the completion of the asynchronous task.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Exceptions

The task completed in a Faulted state.

Remarks

This type and its members are intended for use by the compiler.

Applies to