ChooserBase<(Of <(TTaskEventArgs>)>).Completed Event

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

Occurs when a Chooser task is completed.

Namespace:  Microsoft.Phone.Tasks
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

Public Event Completed As EventHandler(Of TTaskEventArgs)
public event EventHandler<TTaskEventArgs> Completed
<object Completed="EventHandler<TTaskEventArgs>" .../>

Remarks

Important Note:

To ensure that your application receives the result of the Chooser task when your application is reactivated, the Chooser object must be declared with a global scope within the T:Microsoft.Phone.Controls.PhoneApplicationPage class and you must initialize the Chooser and assign the E:Microsoft.Phone.Tasks.ChooserBase`1.Completed event delegate in the T:Microsoft.Phone.Controls.PhoneApplicationPage constructor. For more information about how to handle the activation and deactivation of your application, see The Windows Phone Task Model.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

ChooserBase<(Of <(TTaskEventArgs>)>) Class

Microsoft.Phone.Tasks Namespace

Other Resources

Launchers and Choosers for Windows Phone 8