Share via


SqlCeException Members

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

The following tables list the members exposed by the SqlCeException type.

Public Properties

  Name Description
460k5z2s.pubproperty(en-us,VS.90).gif Data  (inherited from Exception )
460k5z2s.pubproperty(en-us,VS.90).gif 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 SQL Server Compact 3.5 SP1.
460k5z2s.pubproperty(en-us,VS.90).gif HelpLink  (inherited from Exception )
460k5z2s.pubproperty(en-us,VS.90).gif 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.
460k5z2s.pubproperty(en-us,VS.90).gif InnerException  (inherited from Exception )
460k5z2s.pubproperty(en-us,VS.90).gif Message Overridden. Gets the text describing the first instance of SqlCeError in the SqlCeErrorCollection for this exception.
460k5z2s.pubproperty(en-us,VS.90).gif NativeError Gets the native error number of the first SqlCeError in the SqlCeErrorCollection. For more information about the error, see the "SQL Server Compact 3.5 SP1 Errors" topic in the Troubleshooting section of SQL Server Compact 3.5 SP1 Books Online.
460k5z2s.pubproperty(en-us,VS.90).gif Source Overridden. Gets the name of the OLE DB provider that generated the error.
460k5z2s.pubproperty(en-us,VS.90).gif StackTrace  (inherited from Exception )
460k5z2s.pubproperty(en-us,VS.90).gif TargetSite  (inherited from Exception )

Top

Public Methods

(see also Protected Methods )

  Name Description
460k5z2s.pubmethod(en-us,VS.90).gif Equals  Overloaded. (inherited from Object )
460k5z2s.pubmethod(en-us,VS.90).gif GetBaseException  (inherited from Exception )
460k5z2s.pubmethod(en-us,VS.90).gif GetHashCode  (inherited from Object )
460k5z2s.pubmethod(en-us,VS.90).gif GetObjectData  (inherited from Exception )
460k5z2s.pubmethod(en-us,VS.90).gif GetType  (inherited from Exception )
460k5z2s.pubmethod(en-us,VS.90).gif 460k5z2s.static(en-us,VS.90).gif ReferenceEquals  (inherited from Object )
460k5z2s.pubmethod(en-us,VS.90).gif ToString Overridden. Creates and returns a string representation of the current exception.

Top

Protected Methods

  Name Description
460k5z2s.protmethod(en-us,VS.90).gif Finalize  (inherited from Object )
460k5z2s.protmethod(en-us,VS.90).gif MemberwiseClone  (inherited from Object )

Top

See Also

Reference

SqlCeException Class
System.Data.SqlServerCe Namespace
SqlCeError Class
SqlCeErrorCollection Class