EnteredBackgroundEventHandler Delegate

Definition

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

Equivalent WinUI delegate: Microsoft.UI.Xaml.EnteredBackgroundEventHandler.

public delegate void EnteredBackgroundEventHandler(Platform::Object ^ sender, EnteredBackgroundEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Guid(2477348526, 7551, 17291, 183, 184, 34, 125, 150, 182, 9, 192)]
/// [Windows.Foundation.Metadata.WebHostHidden]
class EnteredBackgroundEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Guid(2477348526, 7551, 17291, 183, 184, 34, 125, 150, 182, 9, 192)]
[Windows.Foundation.Metadata.WebHostHidden]
public delegate void EnteredBackgroundEventHandler(object sender, EnteredBackgroundEventArgs e);
Public Delegate Sub EnteredBackgroundEventHandler(sender As Object, e As EnteredBackgroundEventArgs)

Parameters

sender
Object

The object where the handler is attached.

e
EnteredBackgroundEventArgs

Event data for the event.

Inheritance
EnteredBackgroundEventHandler
Attributes

Windows 10 requirements

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

Applies to