EnteredBackgroundEventHandler 委托

定义

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

public delegate void EnteredBackgroundEventHandler(Platform::Object ^ sender, EnteredBackgroundEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Guid(2477348526, 7551, 17291, 183, 184, 34, 125, 150, 182, 9, 192)]
class EnteredBackgroundEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Guid(2477348526, 7551, 17291, 183, 184, 34, 125, 150, 182, 9, 192)]
public delegate void EnteredBackgroundEventHandler(object sender, EnteredBackgroundEventArgs e);
Public Delegate Sub EnteredBackgroundEventHandler(sender As Object, e As EnteredBackgroundEventArgs)

参数

sender
Object

Platform::Object

IInspectable

附加处理程序的对象。

e
EnteredBackgroundEventArgs

事件的事件数据。

属性

Windows 要求

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

适用于