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
)
參數
- message
型別:System.String
顯示的文字會告知。
- type
型別:Microsoft.TeamFoundation.Controls.NotificationType
這會指示的圖示會收到通知。
- flags
型別:Microsoft.TeamFoundation.Controls.NotificationFlags
這些旗標指示告知的行為。
- command
型別:System.Windows.Input.ICommand
這個使用權限的所有內嵌連結/將呼叫物件的所擁有的 Web 網頁而不是讓預設處理常式嘗試處理它們。
- id
型別:System.Guid
用來定義之告知的群組。只有一個告知顯示具有特定 ID 一次是可見的。
備註
呼叫 ShowNotification 具有相同 ID 會再次重新撰寫上一個告知。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。