AppWindowCloseRequestedEventArgs Kelas

Definisi

Menyediakan data untuk peristiwa 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
Warisan
Object Platform::Object IInspectable AppWindowCloseRequestedEventArgs
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10, version 1903 (diperkenalkan dalam 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v8.0)

Properti

Cancel

Mendapatkan atau menetapkan nilai yang menunjukkan apakah operasi penutupan harus dibatalkan.

Metode

GetDeferral()

Mendapatkan objek penangguhan untuk mengelola pekerjaan asinkron yang dilakukan di penanganan aktivitas CloseRequested.

Berlaku untuk

Lihat juga