EnteredBackgroundEventArgs Class

Definition

Provides data when an app begins running in the background.

public ref class EnteredBackgroundEventArgs sealed : IEnteredBackgroundEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class EnteredBackgroundEventArgs final : IEnteredBackgroundEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class EnteredBackgroundEventArgs : IEnteredBackgroundEventArgs
Public NotInheritable Class EnteredBackgroundEventArgs
Implements IEnteredBackgroundEventArgs
Inheritance
Object Platform::Object IInspectable EnteredBackgroundEventArgs
Attributes
Implements

Windows requirements

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

Remarks

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

Methods

GetDeferral()

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

Applies to

See also