AppNotificationManager.Show(AppNotification) Método

Definição

Exibe a notificação de aplicativo especificada na Central de Ações.

Note

A classe AppNotificationManager tem uma dependência no pacote Singleton. Devido a essa dependência, há certas considerações a serem consideradas se você estiver chamando essas APIs de um aplicativo independente. Para obter mais informações e detalhes, consulte Dependências em pacotes MSIX adicionais.

public:
 virtual void Show(AppNotification ^ notification) = Show;
void Show(AppNotification const& notification);
public void Show(AppNotification notification);
function show(notification)
Public Sub Show (notification As AppNotification)

Parâmetros

notification
AppNotification

Um objeto AppNotification que representa a notificação a ser mostrada.

Comentários

Important

Seu aplicativo deve chamar o Registro antes de chamar Show.

Aplica-se a