SqlCeException Members
Public Properties
Errors
Supported only by the .NET Compact Framework. |
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 CE. |
HelpLink (inherited from Exception) | Gets or sets a link to the help file associated with this exception. |
HResult
Supported only by the .NET Compact Framework. |
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 (inherited from Exception)
Supported only by the .NET Compact Framework. |
Gets the Exception instance that caused the current exception. |
Message
Supported only by the .NET Compact Framework. |
Gets the text describing the first instance of SqlCeError in the SqlCeErrorCollection for this exception. |
NativeError
Supported only by the .NET Compact Framework. |
Gets the native error number of the first SqlCeError in the SqlCeErrorCollection. For more information on the error, see the SQL Server CE Errors topic in the Troubleshooting section of SQL Server CE Books Online. |
Source
Supported only by the .NET Compact Framework. |
Gets the name of the OLE DB provider that generated the error. |
StackTrace (inherited from Exception) | Gets a string representation of the frames on the call stack at the time the current exception was thrown. |
TargetSite (inherited from Exception) | Gets the method that throws the current exception. |
Public Methods
Equals (inherited from Object)
Supported only by the .NET Compact Framework. |
Overloaded. Determines whether two Object instances are equal. |
GetBaseException (inherited from Exception)
Supported only by the .NET Compact Framework. |
When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. |
GetHashCode (inherited from Object)
Supported only by the .NET Compact Framework. |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetObjectData (inherited from Exception) | When overridden in a derived class, sets the SerializationInfo with information about the exception. |
GetType (inherited from Object)
Supported only by the .NET Compact Framework. |
Gets the Type of the current instance. |
ToString (inherited from Exception)
Supported only by the .NET Compact Framework. |
Overridden. Creates and returns a string representation of the current exception. |
Protected Methods
Finalize (inherited from Object)
Supported only by the .NET Compact Framework. |
Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object)
Supported only by the .NET Compact Framework. |
Creates a shallow copy of the current Object. |
See Also
SqlCeException Class | System.Data.SqlServerCe Namespace
Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.