The exception that is thrown when the underlying provider returns a warning or error from a SQL Server CE data source. This class cannot be inherited.
For a list of all members of this type, see SqlCeException Members.
[Visual Basic] NotInheritable Public Class SqlCeException Inherits SystemException [C#] public sealed class SqlCeException : SystemException [C++] public __gc __sealed class SqlCeException : public SystemException [JScript] public class SqlCeException extends SystemException
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
This class is created whenever the .NET Compact Framework Data Provider for SQL Server CE encounters an error generated from within the SQL Server CE Engine. (Other errors are thrown as standard common language runtime exceptions.) SqlCeException always contains at least one instance of SqlCeError.
Platforms: .NET Compact Framework
Assembly: System.Data.Sqlserverce (in System.Data.Sqlserverce.dll)