xInfo.num Method [AX 2012]
Retrieves the number of exceptions of the specified type in the Infolog buffer.
public int num([Exception exceptionType])
Run On
CalledParameters
- exceptionType
- Type: Exception Enumeration
A Exception system enumeration value that indicates the exception type to count; optional.
Return Value
Type: intAn integer that represents the number of exceptions of the type specified by the exceptionType parameter, or the total number of lines in the Infolog if no parameter is specified.
For more information, see Exception Handling with try and catch Keywords.
Community Additions
ADD
Show: