Share via


IDCMAgentCallback::NotifyError Method

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

The IDCMAgentCallback::NotifyError method, in Configuration Manager, notifies the caller that a Desired Configuration Management Agent job has failed to be completed.

[IDL]
HRESULT NotifyError(
     IDCMAgentJob* pJob,
     HRESULT hrError,
     MessageId msgId
);

Parameters

  • pJob
    Data type: IDCMAgentJob

    Qualifiers: [in]

    Pointer to the IDCMAgentJob object representing the configuration items and their progress.

  • hrError
    Data type: HRESULT

    Qualifiers: [in]

    HRESULT code representing the error.

  • msgId
    Data type: MessageId

    Qualifiers: [in]

    Nothing is returned for this parameter.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following:

  • S_OK
    The method succeeded. All other return values indicate failure.

Requirements

Runtime Requirements

For more information, see Configuration Manager Client Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Client Development Requirements.

See Also

Concepts

IDCMAgentCallback Interface