SqlCeException Members
The exception thrown when the underlying provider returns a warning or error from a Microsoft SQL Server 2005 Compact Edition data source. This class cannot be inherited.
The following tables list the members exposed by the SqlCeException type.
Public Properties
Name | Description | |
---|---|---|
Data | Gets a collection of key/value pairs that provide additional user-defined information about the exception.(inherited from Exception) | |
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 Edition. | |
HelpLink | Gets or sets a link to the help file associated with this exception.(inherited from Exception) | |
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 Compact Edition Errors" topic in the Troubleshooting section of SQL Server Compact Edition 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) | |
TargetSite | Gets the method that throws the current exception.(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. (inherited from Object) | |
GetObjectData | When overridden in a derived class, sets the SerializationInfo with information about the exception. (inherited from Exception) | |
GetType | Gets the runtime type of the current instance. (inherited from Exception) | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) | |
ToString | Overridden. Creates and returns a string representation of the current exception. |
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
SqlCeErrorCollection