SqlCeErrorCollection Class
Visual Studio 2010
Collects all errors generated by the .NET Compact Framework Data Provider for SQL Server Compact. This class cannot be inherited.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
The SqlCeErrorCollection type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of SqlCeError objects in the collection. |
![]() | Item | Gets the error at the specified index. |
| Name | Description | |
|---|---|---|
![]() | CopyTo | Copies the elements of the SqlCeErrorCollection into an Array, starting at the given index within the Array. |
![]() | Equals | (inherited from Object) |
![]() | Finalize | (inherited from Object) |
![]() | GetEnumerator | Infrastructure. Returns an enumerator that can iterate through the SqlCeErrorCollection. |
![]() | GetHashCode | (inherited from Object) |
![]() | GetType | (inherited from Object) |
![]() | MemberwiseClone | (inherited from Object) |
![]() | ToString | (inherited from Object) |
This class is created by SqlCeException to collect instances of the SqlCeError class. SqlCeErrorCollection always contains at least one instance of the SqlCeError class.
The following example displays each SqlCeError within the SqlCeErrorCollection collection.
Show:

