共用方式為


AwaitExtensions.AggregateExceptionAwaiter.GetResult Method

Definition

Ends the wait for the completion of the asynchronous task.

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

Exceptions

Thrown if the task was canceled.

Thrown if the task faulted.

Applies to