DB2®Error Methods

The methods of the DB2Error class are listed here. For a complete list of DB2Error class members, see the DB2Error Members topic.

Public Methods

Method Description
public method Equals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public method GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public method GetType (inherited from Object) Gets the Type of the current instance.
public method ToString Overridden. Gets the complete text of the error message.

Protected Methods

Method Description
protected method Finalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and Microsoft(R) Visual C++(R), finalizers are expressed using destructor syntax.

protected method MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.