Bagikan melalui


LeavingBackgroundEventHandler Delegasikan

Definisi

Handler untuk peristiwa 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)

Parameter

sender
Object

Platform::Object

Objek tempat handler dilampirkan.

e
LeavingBackgroundEventArgs

Data peristiwa untuk peristiwa tersebut.

Atribut

Keterangan

Kejadian ini tidak dipanggil oleh aplikasi desktop.

Berlaku untuk