RebootNeededEventHandler 委托

定义

表示处理 MediaProtectionManager 传递的数据(需要重新启动)的方法。

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)

参数

sender
MediaProtectionManager

包含需要重新启动的 MediaProtectionManager 对象。

属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

适用于