SqlCeInvalidDatabaseFormatException Class

Throws an exception from SQL Server Compact data source when you try to open the database file of an older or newer version of SQL Server Compact.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Class SqlCeInvalidDatabaseFormatException _
    Inherits SqlCeException
'Usage
Dim instance As SqlCeInvalidDatabaseFormatException
public class SqlCeInvalidDatabaseFormatException : SqlCeException
public ref class SqlCeInvalidDatabaseFormatException : public SqlCeException
type SqlCeInvalidDatabaseFormatException =  
    class
        inherit SqlCeException
    end
public class SqlCeInvalidDatabaseFormatException extends SqlCeException

Inheritance Hierarchy

System. . :: . .Object
  System. . :: . .Exception
    System. . :: . .SystemException
      System.Data.SqlServerCe. . :: . .SqlCeException
        System.Data.SqlServerCe..::..SqlCeInvalidDatabaseFormatException

Thread Safety

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

See Also

Reference

SqlCeInvalidDatabaseFormatException Members

System.Data.SqlServerCe Namespace