BasicHelper.ShowMessageBox Method (String, String, MsgButton, MsgIcon)
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
'宣告
Public Function ShowMessageBox ( _
message As String, _
title As String, _
buttons As MsgButton, _
icon As MsgIcon _
) As MsgResult
public MsgResult ShowMessageBox(
string message,
string title,
MsgButton buttons,
MsgIcon icon
)
public:
MsgResult ShowMessageBox(
String^ message,
String^ title,
MsgButton buttons,
MsgIcon icon
)
member ShowMessageBox :
message:string *
title:string *
buttons:MsgButton *
icon:MsgIcon -> MsgResult
public function ShowMessageBox(
message : String,
title : String,
buttons : MsgButton,
icon : MsgIcon
) : MsgResult
Parameters
- message
Type: System.String
- title
Type: System.String
- buttons
Type: Microsoft.VisualStudio.TeamFoundation.MsgButton
Return Value
Type: Microsoft.VisualStudio.TeamFoundation.MsgResult
.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.