Collects all errors generated by the Firebird .NET Data Provider. This class cannot be inherited.
For a list of all members of this type, see FbErrorCollection Members.
System.Object
FirebirdSql.Data.Firebird.FbErrorCollection
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
This class is created by FbException to collect instances of the FbError class. FbErrorCollection always contains at least one instance of the FbError class.
The example display each FbError within the FbCollection collection.
public void DisplayFbErrors(FbException myException) { for (int i=0; i < myException.Errors.Count; i++) { MessageBox.Show("Index #" + i + "\n" + "Error: " + myException.Errors[i].ToString() + "\n"); } }
Namespace: FirebirdSql.Data.Firebird
Assembly: FirebirdSql.Data.Firebird (in FirebirdSql.Data.Firebird.dll)
FbErrorCollection Members | FirebirdSql.Data.Firebird Namespace