Click or drag to resize
TaskAwaiterTResultOnCompleted 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 OnCompleted(
	Action continuation
)

Parameters

continuation
Type: SystemAction
The action to invoke when the await operation completes.

Implements

INotifyCompletionOnCompleted(Action)
Exceptions
ExceptionCondition
ArgumentNullException If continuation is .
NullReferenceExceptionThe 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