ToastNotificationManager.GetDefault ToastNotificationManager.GetDefault ToastNotificationManager.GetDefault ToastNotificationManager.GetDefault ToastNotificationManager.GetDefault Method

Definition

Gets a toast notification manager for the current user.

public : static ToastNotificationManagerForUser GetDefault()
static ToastNotificationManagerForUser GetDefault() const;
public static ToastNotificationManagerForUser GetDefault()
Public Shared Function GetDefault() As ToastNotificationManagerForUser
var toastNotificationManagerForUser = Windows.UI.Notifications.ToastNotificationManager.getDefault();

Returns

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)