TraceUser object

The TraceUser object provides information about a node in a trace file identified as an occurrence of an activity you selected for logging, including the activity argument and message. To access the extra properties of the TraceUser object, you assign a TraceActivityNode object whose activity type is ActUser! to the TraceUser object.

The TraceUser object has no events.

Properties

TraceUser property

Datatype

Description

ActivityType

TraceActivity (enumerated)

The value ActUser! which identifies the activity represented by the node as an occurrence of an activity you selected.

Argument

Long

The argument passed to the TraceUser function.

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 message passed to the TraceUser function.

TimerValue

Decimal

The timer value (in seconds) when the activity occurred.


Functions

TraceUser function

Datatype returned

Description

ClassName

String

Returns the name assigned to the object.

GetContextService

Integer

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

GetParent

PowerObject

Returns a reference to the name of the parent object.

TypeOf

Object (enumerated)

Returns the type of the object.