Skip to main content

TreeListInvalidNodeExceptionEventArgs(TreeListNode, String, String, Exception, ExceptionMode) Constructor

Initializes a new instance of the TreeListInvalidNodeExceptionEventArgs class.

Namespace: DevExpress.Xpf.Grid.TreeList

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public TreeListInvalidNodeExceptionEventArgs(
    TreeListNode node,
    string errorText,
    string windowCaption,
    Exception exception,
    ExceptionMode exceptionMode
)

Parameters

Name Type Description
node TreeListNode

A TreeListNode object that is the node which failed validation. This value is assigned to the TreeListNodeEventArgs.Node property.

errorText String

A String value that specifies the error description. This value is assigned to the TreeListInvalidNodeExceptionEventArgs.ErrorText property.

windowCaption String

A String value that specifies the caption of the error window. This value is assigned to the TreeListInvalidNodeExceptionEventArgs.WindowCaption property.

exception Exception

A Exception object that is the exception that raised the event. This value is assigned to the TreeListInvalidNodeExceptionEventArgs.Exception property.

exceptionMode ExceptionMode

An ExceptionMode enumeration value that specifies how an exception should be handled. This value is assigned to the TreeListInvalidNodeExceptionEventArgs.ExceptionMode property.

See Also