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

SQL Anywhere 11.0.1 (Français) » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere .NET 2.0 API reference » iAnywhere.Data.SQLAnywhere namespace (.NET 2.0) » SAException class


SAException members

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] ErrorCode (inherited from ExternalException)

Gets the HRESULT of the error.

Errors property

Returns a collection of one or more SAError class objects.

[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.

Message property

Returns the text describing the error.

NativeError property

Returns database-specific error information.

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

Sets the SerializationInfo with information about the exception. Overrides [external link] Exception.GetObjectData.

[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