Dela via


ScheduledToastNotificationShowingEventArgs Class

Definition

Provides info when the system is in the process of showing a scheduled toast notification.

public ref class ScheduledToastNotificationShowingEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ScheduledToastNotificationShowingEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ScheduledToastNotificationShowingEventArgs
Public NotInheritable Class ScheduledToastNotificationShowingEventArgs
Inheritance
Object Platform::Object IInspectable ScheduledToastNotificationShowingEventArgs
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Properties

Cancel

Gets or sets whether Windows should perform its default handling of the notification.

ScheduledToastNotification

Gets the scheduled toast notification being shown.

Methods

GetDeferral()

Requests that the app delay showing the scheduled toast notification.

Applies to