ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.OnCompleted(Action) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Schedules the continuation action for the task associated with this awaiter.
public:
virtual void OnCompleted(Action ^ continuation);
public void OnCompleted (Action continuation);
abstract member OnCompleted : Action -> unit
override this.OnCompleted : Action -> unit
Public Sub OnCompleted (continuation As Action)
Parameters
- continuation
- Action
The action to invoke when the await operation completes.
Implements
Exceptions
The continuation
argument is null
.
The awaiter was not properly initialized.
Remarks
This method is intended for compiler use; do not use it directly in your code.
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.