AppInstallManager.ItemCompleted 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在应用完成安装时发生。
// 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
|