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.

Messaging.Show(Exception) Method

Displays a message box.

Namespace: DevExpress.ExpressApp.Win.Core

Assembly: DevExpress.ExpressApp.Win.v20.2.dll

NuGet Package: DevExpress.ExpressApp.Win

Declaration

public void Show(
    Exception exception
)

Parameters

Name Type Description
exception Exception

A System.Exception object representing an exception to be displayed.

Remarks

Shows the message box with the “Error” caption, Exception.Message text and “OK” button using the XtraMessageBox.Show method, and then triggers the Messaging.ConfirmationDialogClosed event, if the exception passed is user friendly (IUserFriendlyException). Otherwise, displays the exception dialog form via the ExceptionDialogForm.ShowMessage method.

See Also