Condividi tramite


SqlCeException Members

SqlCeException overview

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.

Public Methods

public methodEquals (inherited from Object)

Supported only by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetBaseException (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.
public methodGetHashCode (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.
public methodGetObjectData (inherited from Exception) When overridden in a derived class, sets the SerializationInfo with information about the exception.
public methodGetType (inherited from Object)

Supported only by the .NET Compact Framework.

Gets the Type of the current instance.
public methodToString (inherited from Exception)

Supported only by the .NET Compact Framework.

Overridden. Creates and returns a string representation of the current exception.

Protected Methods

protected methodFinalize (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.

protected methodMemberwiseClone (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.

Send comments on this topic.

© Microsoft Corporation. All rights reserved.