Partager via


IUIEventCls::ExecutionFailed 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 IUIEventCls::ExecutionFailed method, in Configuration Manager, is called if a program that is started by the client returns a failure.

[IDL]
HRESULT ExecutionFailed(
  BSTR  sProgramID,
  BSTR  sPackageID,
  VARIANT  sDependentProgIDs,
  VARIANT  sDependentPkgIDs,
  long  nReasonCode
);

Parameters

  • sProgramID
    Data type: BSTR

    Qualifiers: [in]

    The program ID.

  • sPackageID
    Data type: BSTR

    Qualifiers: [in]

    The package ID.

  • sDependentProgIDs
    Data type: VARIANT

    Qualifiers: [in]

    The dependent program IDs.

  • sDependentPkgIDs
    Data type: VARIANT

    Qualifiers: [in]

    The dependent package IDs.

  • nReasonCode
    Data type: Long

    Qualifiers: [in]

    Code specifying the reason for execution failure.

Return Values

None.

Requirements

UIEvent.dll.

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

UIEventCls Class