Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Logs a error message.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
client server public static void Error(
str area,
str methodName,
str messageFormat,
[anytype p0,
anytype p1,
anytype p2,
anytype p3,
anytype p4,
anytype p5,
anytype p6,
anytype p7,
anytype p8,
anytype p9])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static void Error(
str area,
str methodName,
str messageFormat,
[anytype p0,
anytype p1,
anytype p2,
anytype p3,
anytype p4,
anytype p5,
anytype p6,
anytype p7,
anytype p8,
anytype p9])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static void Error(
str area,
str methodName,
str message)
Run On
Called
Parameters
- area
Type: str
String denoting the component or functional area doing the logging. Used for filtering logged messages.
- methodName
Type: str
Name of method logging the message, qualified with class name.
- messageFormat
Type: str
Message format to be logged.
- p0
Type: anytype
paramert 0 of message to be logged.
- p1
Type: anytype
paramert 1 of message to be logged.
- p2
Type: anytype
paramert 2 of message to be logged.
- p3
Type: anytype
paramert 3 of message to be logged.
- p4
Type: anytype
paramert 4 of message to be logged.
- p5
Type: anytype
paramert 5 of message to be logged.
- p6
Type: anytype
paramert 6 of message to be logged.
- p7
Type: anytype
paramert 7 of message to be logged.
- p8
Type: anytype
paramert 8 of message to be logged.
- p9
Type: anytype
paramert 9 of message to be logged.