UserNotification UserNotification UserNotification UserNotification Class

Definition

Represents a notification for a specific user.

public : sealed class UserNotification : IUserNotificationpublic sealed class UserNotification : IUserNotificationPublic NotInheritable Class UserNotification Implements IUserNotification// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Properties

AppInfo AppInfo AppInfo AppInfo

Gets info about the app that owns the notification.

public : AppInfo AppInfo { get; }public AppInfo AppInfo { get; }Public ReadOnly Property AppInfo As AppInfo// You can use this property in JavaScript.
Value
AppInfo AppInfo AppInfo AppInfo

The app that owns the notification.

CreationTime CreationTime CreationTime CreationTime

Gets the time at which the notification was created.

public : DateTime CreationTime { get; }public DateTimeOffset CreationTime { get; }Public ReadOnly Property CreationTime As DateTimeOffset// You can use this property in JavaScript.
Value
DateTime DateTimeOffset DateTimeOffset DateTimeOffset

The time at which the notification was created.

Id Id Id Id

Gets the ID of the notification.

public : unsigned int Id { get; }public uint Id { get; }Public ReadOnly Property Id As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The ID of the notification.

Notification Notification Notification Notification

Gets the notification content.

public : Notification Notification { get; }public Notification Notification { get; }Public ReadOnly Property Notification As Notification// You can use this property in JavaScript.
Value
Notification Notification Notification Notification

The notification content.