Bagikan melalui


ToastFailedEventArgs Kelas

Definisi

Menyediakan kode kesalahan yang dihasilkan dalam proses menaikkan pemberitahuan toast.

public ref class ToastFailedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
class ToastFailedEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ToastFailedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public sealed class ToastFailedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ToastFailedEventArgs
Public NotInheritable Class ToastFailedEventArgs
Warisan
Object Platform::Object IInspectable ToastFailedEventArgs
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 (diperkenalkan dalam 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v1.0)

Keterangan

Aplikasi Anda menerima kelas ini saat memproses peristiwa ToastNotification.Failed .

Properti

ErrorCode

Mendapatkan kode kesalahan yang dihasilkan dalam proses menaikkan pemberitahuan toast.

Berlaku untuk

Lihat juga