共用方式為


WindowsHost.ShowMessageBox 方法

這個成員會覆寫 TeamFoundationRuntimeHost.ShowMessageBox(IWin32Window, String, String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton)

命名空間:  Microsoft.TeamFoundation.Client
組件:  Microsoft.TeamFoundation.Client (在 Microsoft.TeamFoundation.Client.dll 中)

語法

'宣告
Public Overrides 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
public override DialogResult ShowMessageBox(
    IWin32Window parent,
    string text,
    string helpTopic,
    string caption,
    MessageBoxButtons buttons,
    MessageBoxIcon icon,
    MessageBoxDefaultButton defaultButton
)

參數

傳回值

型別:System.Windows.Forms.DialogResult

實作

IRuntimeHost.ShowMessageBox(IWin32Window, String, String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton)

.NET Framework 安全性

請參閱

參考

WindowsHost 類別

Microsoft.TeamFoundation.Client 命名空間