Skip to main content

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

ExceptionMessageEventArgs(ExceptionMessageOrigin, Exception, String, ExceptionMessageAction, MessageBoxImage) Constructor

In This Article

Initializes a new instance of the ExceptionMessageEventArgs class with the specified settings.

Namespace: DevExpress.Xpf.PdfViewer

Assembly: DevExpress.Xpf.PdfViewer.v24.2.dll

NuGet Package: DevExpress.Wpf.PdfViewer

#Declaration

public ExceptionMessageEventArgs(
    ExceptionMessageOrigin messageOrigin,
    Exception exception,
    string message,
    ExceptionMessageAction messageAction,
    MessageBoxImage messageImage
)

#Parameters

Name Type Description
messageOrigin ExceptionMessageOrigin

An ExceptionMessageOrigin enumeration value used to specify the origin of an exception message. The value is assigned to the ExceptionMessageEventArgs.MessageOrigin property.

exception Exception

An Exception object that represents an exception which caused the PdfViewerControl.ExceptionMessage event.

message String

A String that specifies the error description. The value is assigned to the ExceptionMessageEventArgs.Message property.

messageAction ExceptionMessageAction

An ExceptionMessageAction enumeration value that specifies how an exception should be handled. The value is assigned to the ExceptionMessageEventArgs.MessageAction property.

messageImage MessageBoxImage

A MessageBoxImage enumeration value that specifies the icon displayed in the message box. The value is assigned to the ExceptionMessageEventArgs.MessageImage property.

See Also