Dela via


EnteredBackgroundEventHandler Delegate

Definition

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

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)]
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)]
public delegate void EnteredBackgroundEventHandler(object sender, EnteredBackgroundEventArgs e);
Public Delegate Sub EnteredBackgroundEventHandler(sender As Object, e As EnteredBackgroundEventArgs)

Parameters

sender
Object

Platform::Object

IInspectable

The object where the handler is attached.

e
EnteredBackgroundEventArgs

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