Udostępnij za pośrednictwem


IEnteredBackgroundEventArgs Interface

Definition

Gets the deferral object when an app has entered the background state.

public interface class IEnteredBackgroundEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Guid(4146257090, 38951, 16445, 170, 237, 236, 202, 154, 193, 115, 152)]
struct IEnteredBackgroundEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Guid(4146257090, 38951, 16445, 170, 237, 236, 202, 154, 193, 115, 152)]
public interface IEnteredBackgroundEventArgs
Public Interface IEnteredBackgroundEventArgs
Derived
Attributes

Windows requirements

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

Remarks

Tip

By the time an app enters the background state, none of its UI is visible.

Methods

GetDeferral()

Gets the deferral object which delays the transition from running in the background state to the suspended state until the app calls Deferral.Complete or the deadline for navigation has passed.

Applies to

See also