The TraceError object provides information about a node in a trace file identified as an occurrence of a system error or warning, including the error message and severity level. To access the extra properties of the TraceError object, you assign a TraceActivityNode object whose activity type is ActError! to the TraceError object.
The TraceError object has no events.
TraceError property |
Datatype |
Description |
---|---|---|
ActivityType |
TraceActivity (enumerated) |
The value ActError! which identifies the activity represented by the node as an occurrence of a system error or warning. |
Category |
TraceCategory (enumerated) |
The value TraceAtomic! which indicates that the node is an activity that occurred in a single statement. |
ClassDefinition |
PowerObject |
An object of type PowerObject containing information about the class definition of the object or control. |
Message |
String |
The system error message or the message passed to the TraceError function. |
Severity |
Long |
The system error severity or the severity argument passed to the TraceError function. |
TimerValue |
Decimal |
The timer value (in seconds) when the activity occurred. |
TraceError function |
Datatype returned |
Description |
---|---|---|
String |
Returns the name assigned to the object. |
|
Integer |
Creates a reference to a context-specific instance of the specified service. |
|
PowerObject |
Returns a reference to the name of the parent object. |
|
Object (enumerated) |
Returns the type of the object. |
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |