Поделиться через


AppInstallManager.ItemCompleted Событие

Определение

Происходит после завершения установки приложения.

// 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) 

Тип события

Требования к Windows

Возможности приложения
runFullTrust

Применяется к