ICluster::get_ErrorMessage method

Retrieves a description of the error that occurred when a method of the ICluster interface failed.

Syntax

HRESULT get_ErrorMessage(
  [out] BSTR *pRetVal
);

Parameters

  • pRetVal [out]
    The message that describes the method failure.

Return value

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

Remarks

The method always returns the last error that was set.

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

ICluster

IJob::get_ErrorMessage

ITask::get_ErrorMessage