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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.