Oracle 5.0 Reference Manual page 1964

Table of Contents

Advertisement

Each exception interceptor has 2 methods:
public abstract Exception InterceptException(Exception exception,
MySqlConnection connection);
public virtual void Init(MySqlConnection connection);
The connection passed to
Each interceptor is required to override
the exception it is given, or it can wrap it in a new exception. We currently do not offer the ability to
suppress the exception.
For full usage and examples, see
20.2.7.1.4.
MySqlCommand
For a list of all members of this type, see
Syntax: Visual Basic
NotInheritable Public Class MySqlCommand_
Inherits Component_
Implements IDbCommand, ICloneable
Syntax: C#
public sealed class MySqlCommand : Component, IDbCommand, ICloneable
Thread Safety
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations.
Instance members are not guaranteed to be thread-safe.
Requirements
Namespace:
Assembly: MySql.Data (in MySql.Data.dll)
See Also
MySqlCommand
20.2.7.1.4.1.
MySqlCommand
MySqlCommand overview
Public Instance Constructors
MySqlCommand
Public Instance Properties
CommandText
CommandTimeout
CommandType
Connection
Container (inherited from Component)
IsPrepared
Parameters
Connector/Net API Reference
is the connection that is attached to this interceptor.
Init()
Section 20.2.5.11, "Using the Connector/Net Interceptor
Class
MySql.Data.MySqlClient
Members,
MySql.Data.MySqlClient Namespace
Members
InterceptException
MySqlCommand
Members.
Overloaded. Initializes a new instance of the
MySqlCommand class.
Gets the IContainer that contains the Component.
1944
and return an exception. It can return
Classes".

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents