Share via


SqlCeError Members

Collects information relevant to a warning or error returned by the data source. This class cannot be inherited.

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

Public Properties

  Name Description
Public property Supported by the .NET Compact Framework ErrorParameters Gets the last three error parameters. Error parameters are used by Microsoft SQL Server 2005 Compact Edition to provide additional details about an error.
Public property Supported by the .NET Compact Framework HResult Returns an HRESULT value that identifies the type of error.
Public property Supported by the .NET Compact Framework Message Gets the text describing the error.
Public property Supported by the .NET Compact Framework NativeError Gets the native error number of the SqlCeError. For more information about these errors, see "SQL Server Compact Edition Errors" in the Troubleshooting section of SQL Server Compact Edition Books Online.
Public property Supported by the .NET Compact Framework NumericErrorParameters Gets the first three error parameters. Error parameters are used by SQL Server Compact Edition to provide additional details about an error.
Public property Supported by the .NET Compact Framework Source Gets the name of the provider that generated the error.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework ToString Overridden. Gets the complete text of the error message.

Top

Protected Methods

  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

Top

See Also

Reference

SqlCeError Class
System.Data.SqlServerCe Namespace
SqlCeErrorCollection
SqlCeException