Share via


SqlCeException Members

The exception thrown when the underlying provider returns a warning or error from a  data source. This class cannot be inherited.

The SqlCeException type exposes the following members.

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. (Overrides Exception. . :: . .ToString() () () ().)

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 .
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.
Public property InnerException (inherited from Exception)
Public property Message Gets the text describing the first instance of SqlCeError in the SqlCeErrorCollection for this exception. (Overrides Exception. . :: . .Message.)
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.
Public property Source Gets the name of the OLE DB provider that generated the error. (Overrides Exception. . :: . .Source.)
Public property StackTrace (inherited from Exception)
Public property TargetSite (inherited from Exception)

Top

See Also

Reference

SqlCeException Class

System.Data.SqlServerCe Namespace