Execute method

Executes the Accelerator.

Syntax

HRESULT retVal = object.Execute(pInput, pOutput);

Parameters

  • pInput [in]
    Type: [IOpenServiceActivityInput](cc849074(v=vs.85).md)

    An IOpenServiceActivityInput interface that provides access to the input context and variables.

  • pOutput [in]
    Type: [IOpenServiceActivityOutputContext](cc849069(v=vs.85).md)

    An IOpenServiceActivityOutputContext interface that accepts output from the Accelerator.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This method invokes the Accelerator with the specified input.

See also

IOpenServiceActivity::Preview