Condividi tramite


IRuntimeHost.ShowMessageBox Method

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

'Dichiarazione
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

Return Value

Type: System.Windows.Forms.DialogResult
Returns DialogResult.

.NET Framework Security

See Also

Reference

IRuntimeHost Interface

Microsoft.TeamFoundation.Client Namespace