TraceEnter, TraceExit events

Description

Traces database activity within an application for debugging.

Syntax

public delegate void TraceEnterEventHandler(AseConnection
   connection, object source, string method, object[] parameters);
public delegate void TraceExitEventHandler(AseConnection
   connection, object source, string method, object returnValue);

Usage

Use TraceEnter and TraceExit events to hook up your own tracing method. This event is unique to an instance of a connection. This allows different connections to be logged to different files. It can ignore the event, or you can program it for other tracing. In addition, by using a .NET event, you can set up more than one event handler for a single connection object. This enables you to log the event to both a window and a file at the same time.