PostSharpAPI ReferencePost­Sharp.​AspectsMethod­Binding­Invoke­AwaiterUnsafe­On­Completed
Open sandboxFocus

Method UnsafeOnCompleted

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).