Share via


SqlCeError.ErrorParameters Property

Gets the last three error parameters. Error parameters are used by Microsoft SQL Server 2005 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 ErrorParameters As String()
'Usage
Dim instance As SqlCeError
Dim value As String()

value = instance.ErrorParameters
public string[] ErrorParameters { get; }
public:
property array<String^>^ ErrorParameters {
    array<String^>^ get ();
}
/** @property */
public String[] get_ErrorParameters ()
public function get ErrorParameters () : String[]
Not applicable.

Property Value

A string array that contains the last 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 empty strings.

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