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.
- type
Type : Microsoft.TeamFoundation.Controls.NotificationType
Cela indique que obtiendra un peu l'icône de notification.
- flags
Type : Microsoft.TeamFoundation.Controls.NotificationFlags
Ces indicateurs indiquent le comportement de 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
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.