SqlCeError.NumericErrorParameters Property

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

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

public int[] NumericErrorParameters { get; }

Property Value

Type: System.Int32[]
An integer array that contains the first three error parameters.

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