PostSharp6.2/API Reference/Post­Sharp.​Aspects Namespace/Method­Binding­Invoke­Awaiter Structure/Method­Binding­Invoke­Awaiter Methods/Method­Binding­Invoke­Awaiter.​Unsafe­On­Completed Method

MethodBindingInvokeAwaiter.UnsafeOnCompleted Method

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

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
public void UnsafeOnCompleted(
	Action continuation
)

Parameters

continuation
Type: System.Action
The action to invoke when the operation completes.

Implements

ICriticalNotifyCompletion.UnsafeOnCompleted(Action)
Exceptions
ExceptionCondition
ArgumentNullExceptionThe continuation argument is null (Nothing in Visual Basic).
See Also