StoreQueueItem.Completed Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raised when the download and installation of the current package in the queue is completed.
// Register
event_token Completed(TypedEventHandler<StoreQueueItem, StoreQueueItemCompletedEventArgs const&> const& handler) const;
// Revoke with event_token
void Completed(event_token const* cookie) const;
// Revoke with event_revoker
StoreQueueItem::Completed_revoker Completed(auto_revoke_t, TypedEventHandler<StoreQueueItem, StoreQueueItemCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<StoreQueueItem,StoreQueueItemCompletedEventArgs> Completed;
function onCompleted(eventArgs) { /* Your code */ }
storeQueueItem.addEventListener("completed", onCompleted);
storeQueueItem.removeEventListener("completed", onCompleted);
- or -
storeQueueItem.oncompleted = onCompleted;
Public Custom Event Completed As TypedEventHandler(Of StoreQueueItem, StoreQueueItemCompletedEventArgs)