Programming with Reflection

image\rwnprg32.gif StartTrace method

 

Syntax object.StartTrace FileType, IfFileExists, Filename

 

Description

Starts recording a trace file. You can use the Trace feature to record data transmissions to and from the host, or as a series of Reflection methods. These files are used for troubleshooting.

Arguments

FileType Argument type: Enumeration
The type of trace file:

 rcDataFromHost

 The trace file will contain data transmissions to and from the host.

 rcCommands

 The trace file will contain Reflection methods.

IfFileExists Argument type: Enumeration
Specifies an action to take if the file you specify already exists:

 rcAskUser

 Prompts the user to overwrite the existing file, append new data to the existing file, or cancel the save. An error results if the user then clicks Cancel.

 rcOverwrite

 Replaces the existing file.

 rcOpenError

 Causes StartTrace to return an error.

Filename Argument type: String
The file to which commands are recorded.

 

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command