Share via


LeavingBackgroundEventArgs Klasse

Definition

Stellt Daten bereit, wenn die Ausführung einer App im Hintergrund beendet wird.

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
Vererbung
Object Platform::Object IInspectable LeavingBackgroundEventArgs
Attribute
Implementiert

Windows-Anforderungen

Gerätefamilie
Windows 10 Anniversary Edition (eingeführt in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v3.0)

Hinweise

Auf dieses Objekt wird zugegriffen, wenn Sie WebUIApplication.LeavingBackgroundEventHandler implementieren, um auf WebUIApplication.leavingbackground-Ereignisse zu reagieren.

Methoden

GetDeferral()

Fordert eine Verzögerung an, bevor die App nicht mehr im Hintergrund ausgeführt wird.

Gilt für:

Weitere Informationen