PackageUtility.ShowMessageBox (Método) (IServiceProvider, String, OLEMSGBUTTON, OLEMSGDEFBUTTON, OLEMSGICON)

Método auxiliar para mostrar un cuadro de mensaje en el shell.

Espacio de nombres:  Microsoft.VisualStudio.Modeling.Shell
Ensamblado:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (en Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Sintaxis

'Declaración
Public Shared Function ShowMessageBox ( _
    serviceProvider As IServiceProvider, _
    messageText As String, _
    messageButtons As OLEMSGBUTTON, _
    defaultButton As OLEMSGDEFBUTTON, _
    messageIcon As OLEMSGICON _
) As DialogResult
public static DialogResult ShowMessageBox(
    IServiceProvider serviceProvider,
    string messageText,
    OLEMSGBUTTON messageButtons,
    OLEMSGDEFBUTTON defaultButton,
    OLEMSGICON messageIcon
)

Parámetros

Valor devuelto

Tipo: System.Windows.Forms.DialogResult

Seguridad de .NET Framework

Vea también

Referencia

PackageUtility Clase

ShowMessageBox (Sobrecarga)

Microsoft.VisualStudio.Modeling.Shell (Espacio de nombres)