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

事件的事件数据。

属性

注解

桌面应用程序不会调用此事件。

适用于