The exception that is thrown when SQL Anywhere returns a warning or error.
Visual Basic Public Class SAException Inherits DbException
C# public class SAException : DbException
There is no constructor for SAException. Typically, an SAException object is declared in a catch. For example:
... catch( SAException ex ) { MessageBox.Show( ex.Errors[0].Message, "Error" ); } |
For information about error handling, see Error handling and the SQL Anywhere .NET Data Provider.
SAException members
Errors property
Message property
NativeError property
Source property
GetObjectData method
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |