
ErrorText method
Returns text representation of the error.
Type
String.Syntax
- C#
- C++
- VB.NET
void devP2P.ErrorText(IntPtr Handle, int errorno, StringBuilder buffer);
The ErrorText(Handle,error,buffer) syntax has these parts:
The ErrorText(Handle,error,buffer) syntax has these parts:
Handle | Reference to the devP2P instance. |
error | Errors value. |
buffer | String buffer where error text will be stored. |
static const char *ErrorText(Errors error);
The ErrorText(error) syntax has these parts:
The ErrorText(error) syntax has these parts:
error | Errors value. |
Return value | Text representation of the error. |
Sub P2P_ErrorText(ByVal Handle As IntPtr, ByVal errorno As Integer, ByVal buffer As StringBuilder)
The ErrorText(Handle,error,buffer) syntax has these parts:
The ErrorText(Handle,error,buffer) syntax has these parts:
Handle | Reference to the devP2P instance. |
error | Errors value. |
buffer | String buffer where error text will be stored. |
Remarks
This method will return text representation of the error, in English. You can use it to show user-friendly information in your application.Platforms
WindowsMac OSX
Linux
BSD