PostSharp.ILAPI ReferencePost­Sharp.​AspectsMethod­Interception­Proceed­AwaiterUnsafe­On­Completed
Open sandboxFocus

MethodInterceptionProceedAwaiter.UnsafeOnCompleted Method

UnsafeOnCompleted(Action)

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

Declaration
public void UnsafeOnCompleted(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).