Share via


EnteredBackgroundEventArgs Classe

Definizione

Ottiene l'oggetto rinvio quando un'app ha immesso lo stato di sfondo.

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
Ereditarietà
Object Platform::Object IInspectable EnteredBackgroundEventArgs
Attributi
Implementazioni

Requisiti Windows

Famiglia di dispositivi
Windows 10 Anniversary Edition (è stato introdotto in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v3.0)

Commenti

Questo oggetto viene passato al gestore eventi in background immesso dall'app.

Suggerimento

Quando un'app entra nello stato in background, nessuno dell'interfaccia utente è visibile.

Metodi

GetDeferral()

Ottiene l'oggetto rinvio che ritarda la transizione dallo stato in background allo stato sospeso fino a quando l'app chiama Deferral.Complete o la scadenza per lo spostamento è passata.

Si applica a

Vedi anche