SqlCeException Members
The exception thrown when the underlying provider returns a warning or error from a SQL Server Mobile data source. This class cannot be inherited.
The following tables list the members exposed by the SqlCeException type.
Public Properties
Name | Description | |
---|---|---|
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 Mobile. | |
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. | |
InnerException | Gets the Exception instance that caused the current exception.(Inherited from Exception.) | |
Message | Overridden. Gets the text describing the first instance of SqlCeError in the SqlCeErrorCollection for this exception. | |
NativeError | Gets the native error number of the first SqlCeError in the SqlCeErrorCollection. For more information about the error, see the "SQL Server Mobile Errors" topic in the Troubleshooting section of SQL Server Mobile Books Online. | |
Source | Gets the name of the OLE DB provider that generated the error. | |
StackTrace | Gets a string representation of the frames on the call stack at the time the current exception was thrown.(Inherited from Exception.) |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) | |
GetBaseException | When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Inherited from Exception.) | |
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.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) | |
ToString | Overridden. |
Top
Protected Methods
Name | Description | |
---|---|---|
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.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Top
See Also
Reference
SqlCeException Class
System.Data.SqlServerCe Namespace
SqlCeError Class
SqlCeErrorCollection Class