Click or drag to resize
TaskAwaiterTResultUnsafeOnCompleted Method
This API is preliminary and subject to change.

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 when the await operation completes.

Implements

ICriticalNotifyCompletionUnsafeOnCompleted(Action)
Exceptions
ExceptionCondition
ArgumentNullException If continuation is .
InvalidOperationExceptionThe awaiter was not properly initialized.
Remarks
This method is intended for compiler user rather than use directly in code.
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