MediaProtectionManager.ComponentLoadFailed 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
載入二進位資料失敗時引發。
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