OnCompleted Method
Collapse the table of content
Expand the table of content

YieldAwaitable.YieldAwaiter.OnCompleted Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Sets the continuation to invoke.

Namespace:  System.Runtime.CompilerServices
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Public Sub OnCompleted ( _
	continuation As Action _
)

Parameters

continuation
Type: System.Action
The action to invoke asynchronously.

Implements

INotifyCompletion.OnCompleted(Action)

ExceptionCondition
ArgumentNullException

continuation is Nothing.

This type and its members are intended for use by the compiler.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft