PostSharp.ILAPI ReferencePost­Sharp.​AspectsMethod­Binding­Invoke­AwaiterOn­Completed
Open sandboxFocus

MethodBindingInvokeAwaiter.OnCompleted Method

OnCompleted(Action)

Schedules the continuation action that's invoked when the instance completes.

Declaration
public void OnCompleted(Action continuation)
Parameters
Type Name Description
Action continuation

The action to invoke when the operation completes.

Exceptions
Type Condition
ArgumentNullException

The continuation argument is null (Nothing in Visual Basic).