MediaProtectionManager.RebootNeeded Event
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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