Sets the destination file to use for ctgclient.dll trace.

Namespace:  IBM.CTG
Assembly:  IBM.CTG.Client (in IBM.CTG.Client.dll) Version: 1.0.0.0

Syntax

C#
public static void SetTraceFile(
	string fileName
)
Visual Basic (Declaration)
Public Shared Sub SetTraceFile ( _
	fileName As String _
)
Visual C++
public:
static void SetTraceFile(
	String^ fileName
)

Parameters

fileName
Type: System..::.String
The name of the file to use for ctgclient.dll trace, or nullNothingnullptra null reference (Nothing in Visual Basic) to revert to the standard error output stream.

Exceptions

ExceptionCondition
System.IO..::.IOExceptionThe trace file could not be created at the specified location.
System..::.InvalidOperationExceptionThe version of ctgclient.dll installed on the system is not compatible with this version of IBM.CTG.Client.dll.

See Also