System.Data.SqlClient.SqlErrorCollection Class

Collects all errors generated by the .NET Framework Data Provider for SQL Server. This class cannot be inherited.

See Also: SqlErrorCollection Members


public sealed class SqlErrorCollection : ICollection


This class is created by System.Data.SqlClient.SqlException to collect instances of the System.Data.SqlClient.SqlError class. System.Data.SqlClient.SqlErrorCollection always contains at least one instance of the System.Data.SqlClient.SqlError class.


Namespace: System.Data.SqlClient
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0,