BasicHelper.ShowMessageBox 方法 (String, 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, _
helpTopic As String, _
buttons As MsgButton, _
icon As MsgIcon, _
defButton As MsgDefButton _
) As MsgResult
public MsgResult ShowMessageBox(
string message,
string title,
string helpTopic,
MsgButton buttons,
MsgIcon icon,
MsgDefButton defButton
)
參數
- message
類型:System.String
- title
類型:System.String
- helpTopic
類型:System.String
- defButton
類型:Microsoft.VisualStudio.TeamFoundation.MsgDefButton
傳回值
類型:Microsoft.VisualStudio.TeamFoundation.MsgResult
傳回 MsgResult。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。