Share via


RebootNeededEventHandler Délégué

Définition

Représente la méthode qui gère les données transmises par le MediaProtectionManager qui nécessite un redémarrage.

public delegate void RebootNeededEventHandler(MediaProtectionManager ^ sender);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1692478021, 38715, 19002, 178, 96, 145, 137, 138, 73, 168, 44)]
class RebootNeededEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1692478021, 38715, 19002, 178, 96, 145, 137, 138, 73, 168, 44)]
public delegate void RebootNeededEventHandler(MediaProtectionManager sender);
var rebootNeededEventHandlerHandler = function(sender){
/* Your code */
}
Public Delegate Sub RebootNeededEventHandler(sender As MediaProtectionManager)

Paramètres

sender
MediaProtectionManager

Contient l’objet MediaProtectionManager qui nécessite un redémarrage.

Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 (introduit dans 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v1.0)

S’applique à