Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.StringThe message text to display for the notification.
type
Type: Microsoft.TeamFoundation.Controls.NotificationTypeThis indicates what kind of icon the notification will get.
flags
Type: Microsoft.TeamFoundation.Controls.NotificationFlagsThese flags indicate the behavior of the notification.
command
Type: System.Windows.Input.ICommandThis 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.GuidUsed 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.