Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Function ShowMessageBox ( _
parent As IWin32Window, _
text As String, _
helpTopic As String, _
caption As String, _
buttons As MessageBoxButtons, _
icon As MessageBoxIcon, _
defaultButton As MessageBoxDefaultButton _
) As DialogResult
DialogResult ShowMessageBox(
IWin32Window parent,
string text,
string helpTopic,
string caption,
MessageBoxButtons buttons,
MessageBoxIcon icon,
MessageBoxDefaultButton defaultButton
)
DialogResult ShowMessageBox(
IWin32Window^ parent,
String^ text,
String^ helpTopic,
String^ caption,
MessageBoxButtons buttons,
MessageBoxIcon icon,
MessageBoxDefaultButton defaultButton
)
abstract ShowMessageBox :
parent:IWin32Window *
text:string *
helpTopic:string *
caption:string *
buttons:MessageBoxButtons *
icon:MessageBoxIcon *
defaultButton:MessageBoxDefaultButton -> DialogResult
function ShowMessageBox(
parent : IWin32Window,
text : String,
helpTopic : String,
caption : String,
buttons : MessageBoxButtons,
icon : MessageBoxIcon,
defaultButton : MessageBoxDefaultButton
) : DialogResult
Parameters
- parent
Type: System.Windows.Forms.IWin32Window
- text
Type: System.String
- helpTopic
Type: System.String
- caption
Type: System.String
- buttons
Type: System.Windows.Forms.MessageBoxButtons
- icon
Type: System.Windows.Forms.MessageBoxIcon
- defaultButton
Type: System.Windows.Forms.MessageBoxDefaultButton
Return Value
Type: System.Windows.Forms.DialogResult
Returns DialogResult.
.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.