3.2.4.2.45.10 ClassificationLastError (get) (Opnum 16)

The ClassificationLastError (get) method retrieves the last error, if any, from when classification was previously run and returns S_OK upon successful completion. If no error occurred on the previous classification run, the returned string will be empty and ClassificationLastError (get) MUST return S_FALSE.

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x06))] HRESULT ClassificationLastError(
   [out, retval] BSTR* lastError
 );

lastError: Pointer to a variable that upon completion contains the last error, if any, from when classification was previously run.

Return Values: The method MUST return zero on success, or a nonzero error code on failure.

Return value/code

Description

0x80070057

E_INVALIDARG

The lastError parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that lastError is not NULL.

If any validation fails, the server MUST terminate processing and return a nonzero error code.

The server MUST set lastError to Default Classification Job's Classification Job.Last error.