Freigeben über


IJob::get_ErrorMessage method

Retrieves the job error message.

Syntax

HRESULT get_ErrorMessage(
  [out] BSTR *pRetVal
);

Parameters

  • pRetVal [out]
    The job error message.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.

Remarks

The message contains the last message that has been set for the job. The message can be a run-time error message or the message passed to the ICluster::CancelJob method.

Check the message if the job status is JobStatus_Failed or JobStatus_Cancelled.

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

ICluster::CancelJob

ICluster::get_ErrorMessage

IJob

ITask::get_ErrorMessage