LeavingBackgroundEventHandler Delegat

Definition

Stellt die -Methode dar, die das Application.LeavingBackground-Ereignis behandelt.

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)

Parameter

sender
Object

Platform::Object

IInspectable

Das Objekt, in dem der Handler angefügt ist.

e
LeavingBackgroundEventArgs

Die Ereignisdaten für das Ereignis.

Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Anniversary Edition (eingeführt in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v3.0)

Gilt für: