Share via


LeavingBackgroundEventArgs Classe

Définition

Fournit des données lorsqu’une application est sur le point d’arrêter l’exécution en arrière-plan.

public ref class LeavingBackgroundEventArgs sealed : ILeavingBackgroundEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class LeavingBackgroundEventArgs final : ILeavingBackgroundEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class LeavingBackgroundEventArgs : ILeavingBackgroundEventArgs
Public NotInheritable Class LeavingBackgroundEventArgs
Implements ILeavingBackgroundEventArgs
Héritage
Object Platform::Object IInspectable LeavingBackgroundEventArgs
Attributs
Implémente

Configuration requise pour Windows

Famille d’appareils
Windows 10 Anniversary Edition (introduit dans 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v3.0)

Remarques

Cet objet est accessible lorsque vous implémentez WebUIApplication.LeavingBackgroundEventHandler pour répondre aux événements WebUIApplication.leavingbackground .

Méthodes

GetDeferral()

Demande un délai avant que l’application cesse de s’exécuter en arrière-plan.

S’applique à

Voir aussi