Udostępnij za pośrednictwem


MediaProtectionManager.RebootNeeded Event

Definition

Fires when a reboot is needed after the component is renewed.

public:
 virtual event RebootNeededEventHandler ^ RebootNeeded;
// Register
event_token RebootNeeded(RebootNeededEventHandler const& handler) const;

// Revoke with event_token
void RebootNeeded(event_token const* cookie) const;

// Revoke with event_revoker
MediaProtectionManager::RebootNeeded_revoker RebootNeeded(auto_revoke_t, RebootNeededEventHandler const& handler) const;
public event RebootNeededEventHandler RebootNeeded;
function onRebootNeeded(eventArgs) { /* Your code */ }
mediaProtectionManager.addEventListener("rebootneeded", onRebootNeeded);
mediaProtectionManager.removeEventListener("rebootneeded", onRebootNeeded);
- or -
mediaProtectionManager.onrebootneeded = onRebootNeeded;
Public Custom Event RebootNeeded As RebootNeededEventHandler 

Event Type

Applies to