TaskAwaiter.GetResult Méthode

Définition

Met fin à l’attente de la fin de la tâche asynchrone.

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

Exceptions

L’objet TaskAwaiter n’a pas été initialisé correctement.

La tâche a été annulée.

Tâche terminée dans un état Faulted.

S’applique à