TraceTreeError object

The TraceTreeError object provides information about a tree model node identified as an occurrence of a system error or warning, including the error message and severity level. To access the extra properties of the TraceTreeError object, you assign a TraceTreeNode object whose activity type is ActError! to the TraceTreeError object.

The TraceTreeError object has no events.

Properties

TraceTreeError 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

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

ParentNode

TraceTreeNode

The parent of this node

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


Functions

TraceTree-Error function

Datatype returned

Description

ClassName in PowerScript Reference

String

Returns the name assigned to the object

GetContextService in PowerScript Reference

Integer

Creates a reference to a context-specific instance of the specified service

GetParent in PowerScript Reference

PowerObject

Returns a reference to the name of the parent object

TypeOf in PowerScript Reference

Object (enumerated)

Returns the type of the object