Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

IMessageBoxService Members

A service that enables you to display a custom message box when a runtime error occurs.

Methods

Name Description
ShowDataValidationDialog(String, String, DataValidationErrorStyle) Shows a dialog box as specified by the DataValidation.ErrorStyle.
ShowMessage(String, String, MessageBoxIcon) Shows a dialog box to the user.
ShowOkCancelMessage(String) Shows a dialog box to ask the user to confirm an action.
ShowYesNoCancelMessage(String) Shows a dialog box with Yes, No and Cancel buttons.
ShowYesNoMessage(String) Shows a dialog box with Yes and No buttons.
See Also