TraceBeginEnd object

The TraceBeginEnd object provides information about a node in a trace file identified as an occurrence of a logging start or finish. To access the extra properties of the TraceBeginEnd object, you assign a TraceActivityNode object whose activity type is ActBegin! to the TraceBeginEnd object.

The TraceBeginEnd object has no events.

Properties

TraceBeginEnd property

Datatype

Description

ActivityType

TraceActivity (enumerated)

The value ActBegin! which identifies the activity represented by the node as an occurrence of a logging start or finish.

Category

TraceCategory (enumerated)

The category of the activity represented by the node. Values are:

TraceIn! -- The node is the beginning of an activity that spans several statements.

TraceOut! -- The node is the end of an activity that spanned several statements.

ClassDefinition

PowerObject

An object of type PowerObject containing information about the class definition of the object or control.

Message

String

The message passed in for the TraceBegin function. For the TraceEnd function, the value is " ".

TimerValue

Decimal

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


Functions

TraceBeginEnd 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