LeavingBackgroundEventArgs LeavingBackgroundEventArgs LeavingBackgroundEventArgs LeavingBackgroundEventArgs LeavingBackgroundEventArgs Class

Definition

Provides data when an app is about to stop running in the background.

public : sealed class LeavingBackgroundEventArgs : ILeavingBackgroundEventArgs
struct winrt::Windows::UI::WebUI::LeavingBackgroundEventArgs : ILeavingBackgroundEventArgs
public sealed class LeavingBackgroundEventArgs : ILeavingBackgroundEventArgs
Public NotInheritable Class LeavingBackgroundEventArgs Implements ILeavingBackgroundEventArgs
// This class does not provide a public constructor.
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.LeavingBackgroundEventHandler to respond to WebUIApplication.leavingbackground events.

Methods

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

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

See also