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

適用於