Share via


SqlStudioMessageBox.Show Method

Include Protected Members
Include Inherited Members

Displays a message box with the specified text.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member Show(Exception) Throws an exception when an error occurs during application execution.
Public methodStatic member Show(String) Displays a message box with the specified text.
Public methodStatic member Show(Exception, String) Displays a message with the exception that is thrown when an error occurs during application execution and the specified caption.
Public methodStatic member Show(Exception, MessageBoxButtons) Displays a message box with the specified text and buttons.
Public methodStatic member Show(Exception, MessageBoxIcon) Displays a message box with the specified icon and an exception that is thrown when an error occurs during application execution.
Public methodStatic member Show(String, String) Displays a message box with the specified text and caption.
Public methodStatic member Show(String, MessageBoxButtons) Displays a message box with the specified text and buttons.
Public methodStatic member Show(String, MessageBoxIcon) Displays a message box with the specified text and icon.
Public methodStatic member Show(IWin32Window, Exception) Displays a message box in front of the specified object and displays the exception that is thrown when an error occurs during application execution.
Public methodStatic member Show(IWin32Window, String) Displays a message box in front of the specified object and with the specified text.
Public methodStatic member Show(Exception, String, MessageBoxButtons) Displays a message box with the exception that is thrown when an error occurs during application execution and the specified caption and button.
Public methodStatic member Show(Exception, String, MessageBoxIcon) Displays a message box with the exception that is thrown when an error occurs during application execution and the specified caption and icon.
Public methodStatic member Show(Exception, MessageBoxButtons, MessageBoxIcon) Displays a message box that displays the exception that is thrown when an error occurs during application execution, and the specified button and icon.
Public methodStatic member Show(String, String, MessageBoxButtons) Displays a message box with the specified text, caption, and buttons.
Public methodStatic member Show(String, String, MessageBoxIcon) Displays a message box with the specified text, caption, and icon.
Public methodStatic member Show(String, MessageBoxButtons, MessageBoxIcon) Displays a message box with the specified text, buttons, and icon.
Public methodStatic member Show(IWin32Window, Exception, String) Displays a message box in front of the specified object. The message box displays the exception that is thrown when an error occurs during application execution and the specified caption.
Public methodStatic member Show(IWin32Window, Exception, MessageBoxButtons) Displays a message box in front of the specified object. The message box displays the exception that is thrown when an error occurs during application execution as well as the specified button.
Public methodStatic member Show(IWin32Window, Exception, MessageBoxIcon) Displays a message box in front of the specified object. The message box displays the exception that is thrown when an error occurs during application execution and the specified icon.
Public methodStatic member Show(IWin32Window, String, String) Displays a message box in front of the specified object with the specified text and caption.
Public methodStatic member Show(IWin32Window, String, MessageBoxButtons) Displays a message box in front of the specified object and with specified text and buttons.
Public methodStatic member Show(IWin32Window, String, MessageBoxIcon) Displays a message box in front of the specified object with specified text and icon.
Public methodStatic member Show(Exception, String, MessageBoxButtons, MessageBoxIcon) Displays a message box that displays the exception that is thrown when an error occurs during application execution. The message box has the specified caption, buttons and icon.
Public methodStatic member Show(Exception, String, MessageBoxIcon, MessageBoxDefaultButton) Displays a message box with the exception that is thrown when an error occurs during application execution. The message box has the specified caption, icon, and default button.
Public methodStatic member Show(Exception, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton) Displays a message box that displays the exception that is thrown when an error occurs during application execution. The message box has the specified buttons, icon, and default button.
Public methodStatic member Show(String, String, MessageBoxButtons, MessageBoxIcon) Displays a message box with the specified string, caption, buttons, and icon.
Public methodStatic member Show(String, String, MessageBoxIcon, MessageBoxDefaultButton) Displays a message box with the specified text, caption, icon, and default button.
Public methodStatic member Show(String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton) Displays a message box with the specified text, buttons, icon, and default button.
Public methodStatic member Show(IWin32Window, Exception, String, MessageBoxButtons) Displays a message box in front of the specified object with an exception that is thrown when an error occurs during application execution. The message box has the specified caption and buttons.
Public methodStatic member Show(IWin32Window, Exception, String, MessageBoxIcon) Displays a message box in front of the specified object with an exception that is thrown when an error occurs during application execution. The message box has the specified caption and icon.
Public methodStatic member Show(IWin32Window, Exception, MessageBoxButtons, MessageBoxIcon) Displays a message box in front of the specified object with an exception that is thrown when an error occurs during application execution. The message box has the specified buttons and icon.
Public methodStatic member Show(IWin32Window, String, String, MessageBoxButtons) Displays a message box in front of the specified object with the specified text, caption, and buttons.
Public methodStatic member Show(IWin32Window, String, String, MessageBoxIcon) Displays a message box in front of the specified object with the specified text, caption, and icon.
Public methodStatic member Show(IWin32Window, String, MessageBoxButtons, MessageBoxIcon) Displays a message box in front of the specified object with the specified text, buttons, and icon.
Public methodStatic member Show(Exception, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton) Displays a message box with the exception that is thrown when an error occurs during application execution. The message box has the specified caption, buttons, icon, and default button.
Public methodStatic member Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton) Displays a message box with the specified text, caption, buttons, icon and default button.
Public methodStatic member Show(IWin32Window, Exception, String, MessageBoxButtons, MessageBoxIcon) Displays a message box in front of the specified object with the exception that is thrown when an error occurs during application execution. The message box has the specified caption, buttons, and icon.
Public methodStatic member Show(IWin32Window, Exception, String, MessageBoxIcon, MessageBoxDefaultButton) Displays a message box in front of the specified object with the exception that is thrown when an error occurs during application execution. The message box has the specified text, icon, and default button.
Public methodStatic member Show(IWin32Window, Exception, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton) Displays a message box in front of the specified object with the exception that is thrown when an error occurs during application execution. The message box has the specified buttons, icon, and default button.
Public methodStatic member Show(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon) Displays a message box in front of the specified object. The message box has the specified text, caption, buttons, and icon.
Public methodStatic member Show(IWin32Window, String, String, MessageBoxIcon, MessageBoxDefaultButton) Displays a message box in front of the specified object. The message box has the specified text, caption, icon, and default button.
Public methodStatic member Show(IWin32Window, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton) Displays a message box in front of the specified object. The message box has the specified text, buttons, icon, and default button.
Public methodStatic member Show(IWin32Window, Exception, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton) Displays a message box in front of the specified object and with the exception that is thrown when an error occurs during application execution. The message box has the specified text, buttons, icon, and default button.
Public methodStatic member Show(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton) Displays a message box in front of the specified object. The message box has the specified text, caption, buttons, icon, and default button.
Public methodStatic member Show(IWin32Window, Exception, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, String) Displays a message box in front of the specified object with the exception that is thrown when an error occurs during application execution. The message box has the specified caption, buttons, icon, default button, and uses the specified Help link.
Public methodStatic member Show(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, String) Displays a message box in front of the specified object. The message box has the specified text, caption, buttons, icon, default button, and uses the specified Help link.

Top