Partager via


ITeamExplorer.ShowNotification, méthode

Afficher un message de notification dans la fenêtre Outil d' Team Explorer .

Espace de noms :  Microsoft.TeamFoundation.Controls
Assembly :  Microsoft.TeamFoundation.Controls (dans Microsoft.TeamFoundation.Controls.dll)

Syntaxe

'Déclaration
Sub ShowNotification ( _
    message As String, _
    type As NotificationType, _
    flags As NotificationFlags, _
    command As ICommand, _
    id As Guid _
)
void ShowNotification(
    string message,
    NotificationType type,
    NotificationFlags flags,
    ICommand command,
    Guid id
)

Paramètres

  • message
    Type : System.String
    Le texte du message à afficher pour la notification.
  • command
    Type : System.Windows.Input.ICommand
    Cela permet la page/objet propriétaire à appeler arrières pour tous les liens encastrants au lieu de permettre le gestionnaire par défaut à la tentative de les gérer.
  • id
    Type : System.Guid
    Utilisé pour définir un groupe de notifications.Une seule notification affichée avec un identificateur particulier sera visible à la fois.

Notes

Appelant ShowNotification de nouveau avec le même ID remplace une notification précédente.

Sécurité .NET Framework

Voir aussi

Référence

ITeamExplorer Interface

Microsoft.TeamFoundation.Controls, espace de noms