PrintMgmtHierarchyContext.validate Method [AX 2012]

Validates the contents of an instance of the PrintMgmtHierarchyContext class.

public void validate()

Run On

Called

ExceptionCondition
Error

The PrintMgmtHierarchy concrete class cannot be correctly constructed.

-or-

The PrintMgmtNode concrete class cannot be correctly constructed.

-or-

The document type is invalid for the value of the StartingNodeType field.

-or-

The value of the StartingNodeType field is invalid for the value of the HierarchyType field.

-or-

The ReferencedTableBuffer table buffer cannot be nullNothingnullptrunita null reference (Nothing in Visual Basic) when the StartingNodeType field references a table.

-or-

The ReferencedTableBuffer table buffer must match the table referenced by the StartingNodeType field.

This method must be called when an instance of the PrintMgmtHierarchyContext class is accepted as input. It will cause the appropriate exception.

Community Additions

ADD
Show: