Compartilhar via


AppNotificationManager.Show(AppNotification) Método

Definição

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

Observação

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 autossuficiente. 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

Importante

Seu aplicativo deve chamar Registrar antes de chamar Mostrar.

Aplica-se a