Share via


SqlCeInvalidDatabaseFormatException Members

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.

The SqlCeInvalidDatabaseFormatException type exposes the following members.

Constructors

  Name Description
Public method SqlCeInvalidDatabaseFormatException() () () ()

Top

Methods

  Name Description
Public method Equals(Object) (inherited from Object)
Protected method Finalize() () () () (inherited from Object)
Public method GetBaseException() () () () (inherited from Exception)
Public method GetHashCode() () () () (inherited from Object)
Public method GetObjectData(SerializationInfo, StreamingContext) (inherited from Exception)
Public method GetType() () () () (inherited from Exception)
Protected method MemberwiseClone() () () () (inherited from Object)
Public method ToString() () () () Creates and returns a string representation of the current exception. (inherited from SqlCeException)

Top

Properties

  Name Description
Public property Data (inherited from Exception)
Public property Errors Gets a collection of one or more SqlCeError objects that contain detailed information about exceptions generated by the .NET Compact Framework Data Provider for . (inherited from SqlCeException)
Public property HelpLink (inherited from Exception)
Public property HResult Gets the HRESULT value of the exception. This value is the same as the value of HResult for the first instance of SqlCeError in the SqlCeErrorCollection for the exception. (inherited from SqlCeException)
Public property InnerException (inherited from Exception)
Public property Message Gets the text describing the first instance of SqlCeError in the SqlCeErrorCollection for this exception. (inherited from SqlCeException)
Public property NativeError Gets the native error number of the first SqlCeError in the SqlCeErrorCollection. For more information about the error, see the " Errors" topic in the Troubleshooting section of Books Online. (inherited from SqlCeException)
Public property Source Gets the name of the OLE DB provider that generated the error. (inherited from SqlCeException)
Public property StackTrace (inherited from Exception)
Public property TargetSite (inherited from Exception)

Top

See Also

Reference

SqlCeInvalidDatabaseFormatException Class

System.Data.SqlServerCe Namespace