共用方式為


ITeamExplorer.ShowNotification 方法

顯示通知訊息在 Team Explorer 工具視窗。

命名空間:  Microsoft.TeamFoundation.Controls
組件:  Microsoft.TeamFoundation.Controls (在 Microsoft.TeamFoundation.Controls.dll 中)

語法

'宣告
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
)

參數

  • command
    型別:System.Windows.Input.ICommand
    這個使用權限的所有內嵌連結/將呼叫物件的所擁有的 Web 網頁而不是讓預設處理常式嘗試處理它們。
  • id
    型別:System.Guid
    用來定義之告知的群組。只有一個告知顯示具有特定 ID 一次是可見的。

備註

呼叫 ShowNotification 具有相同 ID 會再次重新撰寫上一個告知。

.NET Framework 安全性

請參閱

參考

ITeamExplorer 介面

Microsoft.TeamFoundation.Controls 命名空間