ErrorLogging object

The ErrorLogging object provides the ability to write messages to the log file used by the object's container, such as the NT system application log for Microsoft Transaction Server.

Properties

ErrorLogging property

Datatype

Description

ClassDefinition

PowerObject

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


Events

ErrorLogging event

Occurs

Constructor in PowerScript Reference

When the object is created.

Destructor in PowerScript Reference

When the object is destroyed.


Functions

ErrorLogging 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.

Log in PowerScript Reference

None

Writes a string to the log file maintained by the object's container.

PostEvent in PowerScript Reference

Boolean

Adds an event to the end of the message queue for the object.

TriggerEvent in PowerScript Reference

Integer

Triggers a specific event in the object and executes the script for the event.

TypeOf in PowerScript Reference

Object

Returns the type of the object.