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
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |