Back to product page

ErrorText method


Returns text representation of the error.

Type

String.

Syntax

  • C#
  • C++
  • VB.NET
void devVPN.ErrorText(IntPtr Handle, int errorno, StringBuilder buffer);
The ErrorText(Handle,error,buffer) syntax has these parts:
HandleReference to the devVPN instance.
errorErrors value.
bufferString buffer where error text will be stored.

static const char *ErrorText(Errors error);
The ErrorText(error) syntax has these parts:
errorErrors value.
Return valueText representation of the error.

Sub VPN_ErrorText(ByVal Handle As IntPtr, ByVal errorno As Integer, ByVal buffer As StringBuilder)
The ErrorText(Handle,error,buffer) syntax has these parts:
HandleReference to the devVPN instance.
errorErrors value.
bufferString 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

Windows
Mac OSX
Linux
BSD
iPhone IOS