BasicHelper.ShowMessageBox 方法 (String, String, MsgButton, MsgIcon, MsgDefButton)
命名空間: Microsoft.TeamFoundation.Common
組件: Microsoft.VisualStudio.TeamFoundation.Client (在 Microsoft.VisualStudio.TeamFoundation.Client.dll 中)
語法
'宣告
Public Function ShowMessageBox ( _
message As String, _
title As String, _
buttons As MsgButton, _
icon As MsgIcon, _
defButton As MsgDefButton _
) As MsgResult
public MsgResult ShowMessageBox(
string message,
string title,
MsgButton buttons,
MsgIcon icon,
MsgDefButton defButton
)
參數
- message
型別:System.String
- title
型別:System.String
- defButton
型別:Microsoft.VisualStudio.TeamFoundation.MsgDefButton
傳回值
型別:Microsoft.VisualStudio.TeamFoundation.MsgResult
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。