Dela via


LeavingBackgroundEventHandler Delegate

Definition

Represents the method that will handle the Application.LeavingBackground event.

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)

Parameters

sender
Object

Platform::Object

IInspectable

The object where the handler is attached.

e
LeavingBackgroundEventArgs

Event data for the event.

Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to