EnteredBackgroundEventArgs EnteredBackgroundEventArgs EnteredBackgroundEventArgs EnteredBackgroundEventArgs Class

Definition

Provides data when an app begins running in the background.

public : sealed class EnteredBackgroundEventArgs : IEnteredBackgroundEventArgspublic sealed class EnteredBackgroundEventArgs : IEnteredBackgroundEventArgsPublic NotInheritable Class EnteredBackgroundEventArgs Implements IEnteredBackgroundEventArgs// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

This object is accessed when you implement WebUIApplication.EnteredBackgroundEventHandler to respond to WebUIApplication.enteredbackground events.

Methods

GetDeferral() GetDeferral() GetDeferral() GetDeferral()

Requests a delay before the app begins running in the background.

public : Deferral GetDeferral()public Deferral GetDeferral()Public Function GetDeferral() As Deferral// You can use this method in JavaScript.
Returns

A deferral that delays the app from running in the background.