Szerkesztés

Megosztás a következőn keresztül:


TaskAwaiter.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

The TaskAwaiter object was not properly initialized.

The task was canceled.

The task completed in a Faulted state.

The task was canceled.

Applies to