Dela via


ToastNotificationManager.GetForUser(User) Method

Definition

Gets a toast notification manager for the specified user.

public:
 static ToastNotificationManagerForUser ^ GetForUser(User ^ user);
 static ToastNotificationManagerForUser GetForUser(User const& user);
public static ToastNotificationManagerForUser GetForUser(User user);
function getForUser(user)
Public Shared Function GetForUser (user As User) As ToastNotificationManagerForUser

Parameters

user
User

The user who will receive the toast notifications.

Returns

A object for creating toast notifications for the specified user.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to