Function
Gets the error string from the error code.
Format
Ret = dncStat1.ErrorString(ErrorCode, ErrorName)
Parameters
ErrorCode [ C#: int ] [ VB.NET: Integer ]
Specifies the error code.
ErrorName [ 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. |
530003 |
An error occurred during calculation. Task linkage cannot be performed during calculation. |
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;
|
VB.NET |
Dim Ret As Integer
|