void ShowMessageBox(Exception exception);

This method displays a message box that reports information about an exception. This message box has a single OK button. See Table 76.

Table 76. Parameters for the ShowMessageBox(Exception exception) Method

Parameter

Description

exception

The exception that you want to report (The dialog box uses exception.Message as the contents.)

 

Related Topics

ShowMessageBox