Click or drag to resize
YieldAwaitableYieldAwaiterUnsafeOnCompleted Method
Posts the continuation back to the current context.

Namespace: Microsoft.Runtime.CompilerServices
Assembly: Rackspace.Threading (in Rackspace.Threading.dll) Version: 2.1.0-beta1
Syntax
public void UnsafeOnCompleted(
	Action continuation
)

Parameters

continuation
Type: SystemAction
The action to invoke asynchronously.

Implements

ICriticalNotifyCompletionUnsafeOnCompleted(Action)
Exceptions
ExceptionCondition
InvalidOperationExceptionThe awaiter was not properly initialized.
Version Information

.NET for Windows Store apps

Supported in: Windows 8

.NET Framework

Supported in: 4.5, 3.5

Portable Class Library

Supported in: Portable Class Library

Threading Library

Supported in: 2.1
See Also