SqlCeException Properties

The properties of the SqlCeException class are listed here. For a complete list of SqlCeException class members, see the SqlCeException Members topic.

Public Properties

public propertyErrors

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.
public propertyHelpLink (inherited from Exception) Gets or sets a link to the help file associated with this exception.
public propertyHResult

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.
public propertyInnerException (inherited from Exception)

Supported only by the .NET Compact Framework.

Gets the Exception instance that caused the current exception.
public propertyMessage

Supported only by the .NET Compact Framework.

Gets the text describing the first instance of SqlCeError in the SqlCeErrorCollection for this exception.
public propertyNativeError

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.
public propertySource

Supported only by the .NET Compact Framework.

Gets the name of the OLE DB provider that generated the error.
public propertyStackTrace (inherited from Exception) Gets a string representation of the frames on the call stack at the time the current exception was thrown.
public propertyTargetSite (inherited from Exception) Gets the method that throws the current exception.

See Also

SqlCeException Class | System.Data.SqlServerCe Namespace