Share via


SqlCeError.NumericErrorParameters Property

Gets the first three error parameters. Error parameters are used by SQL Server Mobile 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[]

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 Mobile errors, see "SQL Server Mobile Errors" in the Troubleshooting section of SQL Server Mobile Books Online.

.NET Framework Security

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Platforms

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information

.NET Compact Framework

Supported in: 2.0, 1.0

See Also

Reference

SqlCeError Class
SqlCeError Members
System.Data.SqlServerCe Namespace