SqlCeError Class
Visual Studio 2010
Collects information relevant to a warning or error returned by the data source. This class cannot be inherited.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
The SqlCeError type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ErrorParameters | Gets the last three error parameters. Error parameters are used by SQL Server Compact to provide additional details about an error. |
![]() | HResult | Returns an HRESULT value that identifies the type of error. |
![]() | Message | Gets the text describing the error. |
![]() | NativeError | Gets the native error number of the SqlCeError. For more information about these errors, see "SQL Server Compact Errors" in the Troubleshooting section of SQL Server Compact Books Online. |
![]() | NumericErrorParameters | Gets the first three error parameters. Error parameters are used by SQL Server Compact to provide additional details about an error. |
![]() | Source | Gets the name of the provider that generated the error. |
| Name | Description | |
|---|---|---|
![]() | Equals | (inherited from Object) |
![]() | Finalize | (inherited from Object) |
![]() | GetHashCode | (inherited from Object) |
![]() | GetType | (inherited from Object) |
![]() | MemberwiseClone | (inherited from Object) |
![]() | ToString | Gets the complete text of the error message. (Overrides Object::ToString().) |
An instance of SqlCeError is created by the System.Data.SqlServerCe managed provider when an error occurs. The SqlCeErrorCollection contains one or more instances of SqlCeError.
Show:
