Compartir a través de


LeavingBackgroundEventHandler Delegado

Definición

Representa el método que controlará el evento 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)

Parámetros

sender
Object

Platform::Object

IInspectable

Objeto donde se adjunta el controlador.

e
LeavingBackgroundEventArgs

Datos del evento.

Atributos

Requisitos de Windows

Familia de dispositivos
Windows 10 Anniversary Edition (se introdujo en la versión 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (se introdujo en la versión v3.0)

Se aplica a