PostSharp5.0//API Reference/Post­Sharp.​Patterns.​Threading Namespace/Concurrent­Access­Awaiter Structure/Concurrent­Access­Awaiter Methods/Concurrent­Access­Awaiter.​Unsafe­On­Completed Method

ConcurrentAccessAwaiter.UnsafeOnCompleted Method

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

Namespace:  PostSharp.Patterns.Threading
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.55.0 (5.0.55.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