Partilhar via


SqlCeError Members

SqlCeError overview

Public Properties

public propertyErrorParameters

Supported only by the .NET Compact Framework.

Gets the last three error parameters. Error parameters are used by SQL Server CE to provide additional details about an error.
public propertyHResult

Supported only by the .NET Compact Framework.

Returns an HRESULT value that identifies the type of error.
public propertyMessage

Supported only by the .NET Compact Framework.

Gets the text describing the error.
public propertyNativeError

Supported only by the .NET Compact Framework.

Gets the native error number of the SqlCeError. For more information on these errors, see the SQL Server CE Errors topic in the Troubleshooting section of SQL Server CE Books Online.
public propertyNumericErrorParameters

Supported only by the .NET Compact Framework.

Gets the first three error parameters. Error parameters are used by SQL Server CE to provide additional details about an error.
public propertySource

Supported only by the .NET Compact Framework.

Gets the name of the provider that generated the error.

Public Methods

public methodEquals (inherited from Object)

Supported only by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
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 methodGetType (inherited from Object)

Supported only by the .NET Compact Framework.

Gets the Type of the current instance.
public methodToString

Supported only by the .NET Compact Framework.

Overridden. Gets the complete text of the error message.

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

SqlCeError 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.