Dela via


ToastNotificationManagerForUser.CreateToastNotifier Method

Definition

Overloads

CreateToastNotifier()

Creates a new ToastNotifier for the calling application and the bound user that lets you raise a toast notification.

CreateToastNotifier(String)

Creates a new ToastNotification for the bound user and the specified app, usually another app in the same package.

CreateToastNotifier()

Creates a new ToastNotifier for the calling application and the bound user that lets you raise a toast notification.

public:
 virtual ToastNotifier ^ CreateToastNotifier() = CreateToastNotifier;
/// [Windows.Foundation.Metadata.Overload("CreateToastNotifier")]
ToastNotifier CreateToastNotifier();
[Windows.Foundation.Metadata.Overload("CreateToastNotifier")]
public ToastNotifier CreateToastNotifier();
function createToastNotifier()
Public Function CreateToastNotifier () As ToastNotifier

Returns

The object you will use to send the toast notification to the app for the bound user.

Attributes

See also

Applies to

CreateToastNotifier(String)

Creates a new ToastNotification for the bound user and the specified app, usually another app in the same package.

public:
 virtual ToastNotifier ^ CreateToastNotifier(Platform::String ^ applicationId) = CreateToastNotifier;
/// [Windows.Foundation.Metadata.Overload("CreateToastNotifierWithId")]
ToastNotifier CreateToastNotifier(winrt::hstring const& applicationId);
[Windows.Foundation.Metadata.Overload("CreateToastNotifierWithId")]
public ToastNotifier CreateToastNotifier(string applicationId);
function createToastNotifier(applicationId)
Public Function CreateToastNotifier (applicationId As String) As ToastNotifier

Parameters

applicationId
String

Platform::String

winrt::hstring

The unique ID of the app.

Note

You can't send a toast notification to a secondary tile, so this must be the ID of an app tile.

Returns

The object you will use to send the toast notification to the tile.

Attributes

See also

Applies to