System.Windows.Forms.Design.IUIService.ShowError Method

Displays the specified exception and information about the exception in a message box.

Syntax

public void ShowError (Exception ex, string message)

Parameters

ex
The Exception to display.
message
A message to display that provides information about the exception.

Remarks

Using this method enables the message box display to be properly integrated with the development environment.

Requirements

Namespace: System.Windows.Forms.Design
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0