共用方式為


LeavingBackgroundEventHandler 代理人

定義

Application.LeavingBackground 事件的處理常式。

public delegate void LeavingBackgroundEventHandler(Platform::Object ^ sender, LeavingBackgroundEventArgs ^ e);
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(1030896532, 64463, 23565, 182, 239, 80, 98, 230, 139, 249, 248)]
public delegate void LeavingBackgroundEventHandler(object sender, LeavingBackgroundEventArgs e);
Public Delegate Sub LeavingBackgroundEventHandler(sender As Object, e As LeavingBackgroundEventArgs)

參數

sender
Object

Platform::Object

附加處理常式的物件。

e
LeavingBackgroundEventArgs

事件的事件資料。

屬性

備註

傳統型應用程式不會叫用此事件。

適用於