ITeamExplorer.ShowNotification Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Show a notification message in the Team Explorer tool window.

Namespace:  Microsoft.TeamFoundation.Controls
Assembly:  Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)

Syntax

'Declaration
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
)
void ShowNotification(
    String^ message, 
    NotificationType type, 
    NotificationFlags flags, 
    ICommand^ command, 
    Guid id
)
abstract ShowNotification : 
        message:string * 
        type:NotificationType * 
        flags:NotificationFlags * 
        command:ICommand * 
        id:Guid -> unit
function ShowNotification(
    message : String, 
    type : NotificationType, 
    flags : NotificationFlags, 
    command : ICommand, 
    id : Guid
)

Parameters

  • message
    Type: System.String

    The message text to display for the notification.

  • command
    Type: System.Windows.Input.ICommand

    This allows the owning page/object to be called back for all embedding links instead of allowing the default handler to attempt to handle them.

  • id
    Type: System.Guid

    Used to define a group of notifications. Only one notification shown with a particular id will be visible at a time.

Remarks

Calling ShowNotification again with the same ID will overwrite a previous notification.

.NET Framework Security

See Also

Reference

ITeamExplorer Interface

Microsoft.TeamFoundation.Controls Namespace