DB2Exception Properties

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

Public Properties

Property Description
public property Errors Gets a collection of one or more DB2®Error objects that give detailed information about exceptions generated by the IBM Data Server Provider for .NET.
public property HelpLink (inherited from Exception) Gets or sets a link to the help file associated with this exception.
public property InnerException (inherited from Exception) Gets the Exception instance that caused the current exception.
public property Message Overridden. Gets the text describing the error.
public property Source Overridden. Gets the name of the driver that generated the error.
public property StackTrace (inherited from Exception) Gets a string representation of the frames on the call stack at the time the current exception was thrown.
public property TargetSite (inherited from Exception) Gets the method that throws the current exception.

Protected Properties

Property Description
protected property HResult (inherited from Exception) Gets or sets HRESULT, a coded numeric value that is assigned to a specific exception.