Skip to main content
A newer version of this page is available. .

IMessageBoxService Methods

A service that enables you to display a custom message box when a runtime error occurs.
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