Share via


SqlCeError.ErrorParameters Property

Gets the last 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 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[]

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 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