Condividi tramite


MediaProtectionManager.RebootNeeded Evento

Definizione

Attiva quando è necessario un riavvio dopo il rinnovo del componente.

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 

Tipo evento

Si applica a