ErrorString


Function

 

Gets the error string from the error code.

 

Format

 

Ret = dncDataSet1.ErrorString(ErrorCode, ErrorString)

 

Parameters

  

ErrorCode [ C#: int ] [ VB.NET: Integer ]

Specifies the return value of each function function.

 

ErrorString [ C#: out string ] [ VB.NET: String ]  

Specifies the start address of the buffer that stores the error string.

 

Return value

 

Ret [ C#: int ] [ VB.NET: Integer ]

 

Value

Description

0

Normality completion

510001

The input parameter is invalid. Check the parameter contents.

Other errors (see: Error code details)

 

Remarks

 

It is an utility function that returns the meaningful string for the error code. Please use this function for the error processing.

 

Example

 

Stores the contents of error code 510001 in ErrorString.

C#

int    Ret;
string ErrorString;

ret = dncDataSet1.ErrorString(510001, out ErrorString);

 

VB.NET

Dim Ret As Integer
Dim ErrorString As String

Ret = dncDataSet1.ErrorString(510001, ErrorString)