共用方式為


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

適用於