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

适用于