Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Messaging.Show(Exception) Method

Displays a message box.

Namespace: DevExpress.ExpressApp.Win.Core

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

#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