LeavingBackgroundEventHandler 委托

定义

表示将处理 Application.LeavingBackground 事件的方法。

public delegate void LeavingBackgroundEventHandler(Platform::Object ^ sender, LeavingBackgroundEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Guid(2863488429, 20422, 19108, 183, 207, 135, 126, 54, 173, 164, 246)]
class LeavingBackgroundEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Guid(2863488429, 20422, 19108, 183, 207, 135, 126, 54, 173, 164, 246)]
public delegate void LeavingBackgroundEventHandler(object sender, LeavingBackgroundEventArgs e);
Public Delegate Sub LeavingBackgroundEventHandler(sender As Object, e As LeavingBackgroundEventArgs)

参数

sender
Object

Platform::Object

IInspectable

附加处理程序的对象。

e
LeavingBackgroundEventArgs

事件的事件数据。

属性

Windows 要求

设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)

适用于