User Configurable Event Category

The User Configurable event classes can be used to monitor user-defined events. User-defined events can be created to monitor events that cannot already be monitored by the system-supplied events in other event categories. For example, a user-defined event can be created to monitor the progress of the application you are testing. As the application runs, it can generate events at predefined points, allowing you to determine the current execution point in your application.

As user-defined events are generated by your application using the xp_trace_generate_event extended stored procedure, the event_class parameter you specify determines which of the following five event classes to monitor:

Event class Description
UserConfigurable:1 Event data defined by the user
UserConfigurable:2 Event data defined by the user
UserConfigurable:3 Event data defined by the user
UserConfigurable:4 Event data defined by the user
UserConfigurable:5 Event data defined by the user

The values available for the  event_class parameter can be determined by using the xp_trace_geteventnames extended stored procedure.

To create a user-defined event class

See Also

xp_trace_geteventnames

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.