Method UnsafeOnCompleted
UnsafeOnCompleted(Action)
Schedules the continuation action for the asynchronous task that is associated with this awaiter.
Declaration
public void UnsafeOnCompleted(Action continuation)
Parameters
| Type | Name | Description |
|---|---|---|
| Action | continuation | The action to invoke when the await operation completes. |
Implements
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|
| InvalidOperationException | The awaiter was not properly initialized. |