다음을 통해 공유


MediaProtectionManager.RebootNeeded 이벤트

정의

구성 요소를 갱신한 후 다시 부팅이 필요할 때 발생합니다.

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 

이벤트 유형

적용 대상