This document is archived and information here might be outdated. Recommended version. |
Retrieves the last error message and code from an attempt to process features.
[Visual Basic .NET]
Public Function get_LastError ( _
ByRef LastError As String _
) As Integer
[C#]
public int get_LastError (
ref string LastError
);
[C++]
HRESULT get_LastError(
System.String* LastError,
System.Int32* lastErrorCode
);
[C++] Parameters LastError [out]
LastError is a parameter of type BSTR* lastErrorCode [out, retval]
lastErrorCode is a parameter of type int*
The LastError property returns information about why the AddLicense method failed to add the specified license to the keycodes file. Use the LastError property after the AddLicense method to retrieve information on the nature of any error.