ConfiguredTaskAwaitable(Of TResult).ConfiguredTaskAwaiter.OnCompleted Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Schedules the continuation onto the Task associated with this TaskAwaiter.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- continuation
- Type: System.Action
The action to invoke when the await operation completes.
Implements
INotifyCompletion.OnCompleted(Action)| Exception | Condition |
|---|---|
| ArgumentNullException | The continuation argument is Nothing. |
| NullReferenceException | The awaiter was not properly initialized. |
Show: