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

Initializes a new instance of the TreeListInvalidNodeExceptionEventArgs class.

Namespace: DevExpress.Xpf.Grid.TreeList

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

Declaration

public TreeListInvalidNodeExceptionEventArgs(
    TreeListNode node,
    string errorText,
    string windowCaption,
    Exception exception,
    ExceptionMode exceptionMode
)
Public Sub New(
    node As TreeListNode,
    errorText As String,
    windowCaption As String,
    exception As Exception,
    exceptionMode As 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