100
Error Information Methods
GetLastErrorCode ( )
GetLastErrorCode ( )
GetLastErrorCode ( )
GetLastErrorCode ( )
Returns the fault code from the last failed method call.
Syntax
HRESULT GetLastErrorCode(
[out, retval] long* Code
);
Parameters
Code
[out, retval] Integer representing fault code.
Remarks
The value of
Code
corresponds to
faultCode
of an HTTP Post response when
status
is 0 (failure).
See {see Error! Reference source not found., page Error! Bookmark not defined.} for a list of defined
codes.
GetLastErrorString ( )
GetLastErrorString ( )
GetLastErrorString ( )
GetLastErrorString ( )
Returns the description of the error from the last failed method call.
Syntax
HRESULT GetLastErrorString(
[out, retval] BSTR* ErrorString
);
Parameters
ErrorString
[out, retval] String describing an error.
Remarks
ErrorString corresponds to
response1
of an HTTP Post response when
status
is 0 (failure).
GetLastExtended
GetLastExtended
GetLastExtended
GetLastExtendedErrorString ( )
ErrorString ( )
ErrorString ( )
ErrorString ( )
Returns an extended description of the error from the last failed method call.
Syntax
HRESULT GetLastExtendedErrorString(
[out, retval] BSTR* ExtErrorString
);
Parameters
ExtErrorString
[out, retval] String giving more information about an error.
Remarks
Corresponds to
response2
of an HTTP Post response when
status
is 0 (failure).