MediaProtectionManager.ComponentLoadFailed Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Se déclenche lorsque le chargement des données binaires échoue.
public:
virtual event ComponentLoadFailedEventHandler ^ ComponentLoadFailed;
// Register
event_token ComponentLoadFailed(ComponentLoadFailedEventHandler const& handler) const;
// Revoke with event_token
void ComponentLoadFailed(event_token const* cookie) const;
// Revoke with event_revoker
MediaProtectionManager::ComponentLoadFailed_revoker ComponentLoadFailed(auto_revoke_t, ComponentLoadFailedEventHandler const& handler) const;
public event ComponentLoadFailedEventHandler ComponentLoadFailed;
function onComponentLoadFailed(eventArgs) { /* Your code */ }
mediaProtectionManager.addEventListener("componentloadfailed", onComponentLoadFailed);
mediaProtectionManager.removeEventListener("componentloadfailed", onComponentLoadFailed);
- or -
mediaProtectionManager.oncomponentloadfailed = onComponentLoadFailed;
Public Custom Event ComponentLoadFailed As ComponentLoadFailedEventHandler