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

Syntax

[System.ComponentModel.ListBindable(false)]
public sealed class SqlErrorCollection : ICollection

Remarks

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.

Requirements

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