Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - .NET Programming » UltraLite .NET 2.0 API Reference » ULException class


ULException members

Public constructors
Member name Description

ULException constructor

Creates a ULException with the given error code.

Public properties
Member name Description

[external link] Data (inherited from Exception)

Gets a collection of key/value pairs that provide additional, user-defined information about the exception.

[external link] HelpLink (inherited from Exception)

Gets or sets a link to the help file associated with this exception.

[external link] InnerException (inherited from Exception)

Gets the [external link] Exception instance that caused the current exception.

[external link] Message (inherited from Exception)

Gets a message that describes the current exception.

NativeError property

Returns the SQL code returned by the database.

Source property

Returns the name of the provider that generated the error.

[external link] StackTrace (inherited from Exception)

Gets a string representation of the frames on the call stack at the time the current exception was thrown.

[external link] TargetSite (inherited from Exception)

Gets the method that throws the current exception.

Public methods
Member name Description

[external link] GetBaseException (inherited from Exception)

When overridden in a derived class, returns the [external link] Exception that is the root cause of one or more subsequent exceptions.

GetObjectData method

Populates a SerializationInfo with the data needed to serialize this ULException.

[external link] GetType (inherited from Exception)

Gets the runtime type of the current instance.

[external link] ToString (inherited from Exception)

Creates and returns a string representation of the current exception.

See also