PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / Method­Interception­Proceed­Awaiter Structure / Method­Interception­Proceed­Awaiter Methods / Method­Interception­Proceed­Awaiter.​On­Completed Method

MethodInterceptionProceedAwaiter.OnCompleted Method

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

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

Parameters

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

Implements

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