共用方式為


TeamFoundationRuntimeHost.ShowMessageBox 方法

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

語法

'宣告
Public MustOverride 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 abstract 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 安全性

請參閱

參考

TeamFoundationRuntimeHost 類別

Microsoft.TeamFoundation.Client 命名空間