共用方式為


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 引進)

適用於