Freigeben über


SqlCeErrorCollection Class

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

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

For a list of all members of this type, see SqlCeErrorCollection Members.

System.Object
   System.Data.SqlServerCe.SqlCeErrorCollection

  [Visual Basic]
  NotInheritable Public Class SqlCeErrorCollection
   Implements ICollection, IEnumerable

  [C#]
  public sealed class SqlCeErrorCollection : ICollection, IEnumerable

  [C++]
  public __gc __sealed class SqlCeErrorCollection : public
   ICollection, IEnumerable

  [JScript]
  public class SqlCeErrorCollection implements ICollection,
   IEnumerable

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

This class is created by SqlCeException to collect instances of the SqlCeError class. SqlCeErrorCollection always contains at least one instance of the SqlCeError class.

Requirements

Namespace: System.Data.SqlServerCe

Platforms: .NET Compact Framework

Assembly: System.Data.Sqlserverce (in System.Data.Sqlserverce.dll)

See Also

SqlCeErrorCollection Members | System.Data.SqlServerCe Namespace | SqlCeError | SqlCeException

Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.

Send comments on this topic.

© Microsoft Corporation. All rights reserved.