Click or drag to resize

MySqlTrace Class

Traces information about the client execution.
Inheritance Hierarchy
SystemObject
  MySql.Data.MySqlClientMySqlTrace

Namespace:  MySql.Data.MySqlClient
Assembly:  MySql.Data (in MySql.Data.dll) Version: 8.0.23
Syntax
public class MySqlTrace

The MySqlTrace type exposes the following members.

Constructors
  NameDescription
Public methodMySqlTrace
Initializes a new instance of the MySqlTrace class
Top
Properties
  NameDescription
Public propertyStatic memberListeners
Gets the list of trace listeners.
Public propertyStatic memberQueryAnalysisEnabled
Gets or sets a flag indicating if query analysis is enabled.
Public propertyStatic memberSwitch
Gets or sets the switch to control tracing and debugging.
Top
Methods
  NameDescription
Public methodStatic memberDisableQueryAnalyzer
Disables query analysis.
Public methodStatic memberEnableQueryAnalyzer
Enables query analysis.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also