SqlCeError.ErrorParameters Property

Gets the last 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 string[] ErrorParameters { get; }

Property Value

Type: System.String[]
A string array that contains the last 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 empty strings.

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