Displays the specified exception and information about the exception in a message box.
ex The Exception to display. message A message to display that provides information about the exception.
Using this method enables the message box display to be properly integrated with the development environment.