Partager via


AppWindowCloseRequestedEventArgs Classe

Définition

Fournit des données pour l’événement AppWindow.CloseRequested.

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

Configuration requise pour Windows

Configuration requise Description
Famille d’appareils
Windows 10, version 1903 (introduit dans 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v8.0)

Propriétés

Nom Description
Cancel

Obtient ou définit une valeur qui indique si l’opération de fermeture doit être annulée.

Méthodes

Nom Description
GetDeferral()

Obtient un objet de report pour la gestion du travail asynchrone effectué dans le gestionnaire d’événements CloseRequested.

S’applique à

Voir aussi