Completed Event
Collapse the table of content
Expand the table of content

ChooserBase<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.

public event EventHandler<TTaskEventArgs> Completed
<object Completed="EventHandler<TTaskEventArgs>" .../>

Important noteImportant 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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2016 Microsoft