Office.MailboxEnums.ItemNotificationMessageType enum

Gibt den Benachrichtigungstyp für eine Nachricht oder einen Termin an.

Hinweise

[ API-Satz: Postfach 1.3 ]

Anwendbarer Outlook-Modus: Verfassen oder Lesen

Beispiele

// Link to full sample: https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/outlook/35-notifications/add-getall-remove.yaml

// Adds an error notification to the mail item.
const id = $("#notificationId").val().toString();
const details =
  {
    type: Office.MailboxEnums.ItemNotificationMessageType.ErrorMessage,
    message: "Error notification message with id = " + id
  };
Office.context.mailbox.item.notificationMessages.addAsync(id, details, handleResult);

Felder

ProgressIndicator = "progressIndicator"

Die Benachrichtigung ist eine Statusanzeige.

InformationalMessage = "informationalMessage"

Die Benachrichtigungsmeldung ist eine Informationsmeldung.

ErrorMessage = "errorMessage"

Die Benachrichtigung ist eine Fehlermeldung.

Wichtig: Nur der InformationalMessage Typ wird in Outlook unter Android und unter iOS unterstützt.