Share via


AppInstallManager.ItemCompleted Event

Definition

Occurs when an app has finished installing.

// Register
event_token ItemCompleted(TypedEventHandler<AppInstallManager, AppInstallManagerItemEventArgs const&> const& handler) const;

// Revoke with event_token
void ItemCompleted(event_token const* cookie) const;

// Revoke with event_revoker
AppInstallManager::ItemCompleted_revoker ItemCompleted(auto_revoke_t, TypedEventHandler<AppInstallManager, AppInstallManagerItemEventArgs const&> const& handler) const;
public event TypedEventHandler<AppInstallManager,AppInstallManagerItemEventArgs> ItemCompleted;
function onItemCompleted(eventArgs) { /* Your code */ }
appInstallManager.addEventListener("itemcompleted", onItemCompleted);
appInstallManager.removeEventListener("itemcompleted", onItemCompleted);
- or -
appInstallManager.onitemcompleted = onItemCompleted;
Public Custom Event ItemCompleted As TypedEventHandler(Of AppInstallManager, AppInstallManagerItemEventArgs) 

Event Type

Windows requirements

App capabilities
runFullTrust

Applies to