共用方式為


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

適用於