Share via


SqlCeError.NumericErrorParameters Property

Gets the first three error parameters. Error parameters are used by SQL Server Compact Edition to provide additional details about an error.

Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in system.data.sqlserverce.dll)

Syntax

'Declaration
Public ReadOnly Property NumericErrorParameters As Integer()
'Usage
Dim instance As SqlCeError
Dim value As Integer()

value = instance.NumericErrorParameters
public int[] NumericErrorParameters { get; }
public:
property array<int>^ NumericErrorParameters {
    array<int>^ get ();
}
/** @property */
public int[] get_NumericErrorParameters ()
public function get NumericErrorParameters () : int[]
Not applicable.

Property Value

An integer array that contains the first three error parameters.

Remarks

Although parameters might exist for an error, not all occurrences of the error will return parameters. If an occurrence of an error does not return any parameters, the values of this array will be 0.

For more information about specific SQL Server Compact Edition errors, see "SQL Server Compact Edition Errors" in the Troubleshooting section of SQL Server Compact Edition Books Online.

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows XP Professional x64 Edition, Windows XP SP2

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

.NET Compact Framework

Supported in: 2.0, 1.0

See Also

Reference

SqlCeError Class
SqlCeError Members
System.Data.SqlServerCe Namespace