Function
Gets the error string from the error code.
Format
Ret = dncVolume1.ErrorString(ErrorCode, ErrorString)
Parameters
ErrorCode
[ C#: int ] [ VB.NET: Integer ]
Specifies the error code.
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 also: Error code details)
Remarks
A utility function that returns a meaningful string from an error code. Please use it for error handling
Example
Stores the contents of error code 510001 in ErrorString.
C# |
int
Ret;
|
VB.NET |
Dim
Ret As Integer
|