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 SQL Server Mobile 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 Mobile Errors" in the Troubleshooting section of SQL Server Mobile Books Online.
Public property Supported by the .NET Compact Framework NumericErrorParameters Gets the first three error parameters. Error parameters are used by SQL Server Mobile 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. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (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