IOrderPipeline::SetLogFile

Ee784136.c++_off(en-US,CS.10).gifEe784136.vb_on(en-US,CS.10).gif

Use this method to identify the file in which to log the operations of the pipeline component.

Ee784136.note(en-US,CS.10).gif Note

  • This method is for use by developers who want to analyze pipeline configuration file information. Logging should never be used in a production environment: it degrades performance and may compromise the security of credit card numbers in non-set transactions.

Definition

HRESULT IOrderPipeline::SetLogFile(BSTRpszFileName);

Parameters

pszFileName

[in] A BSTR containing the name of the file in which to log events.

Return Values

This method returns an HRESULT indicating whether it completed successfully. See the Error Values section for more details.

Error Values

This method returns S_OK (0x00000000) to indicate success and standard COM HRESULT error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object, which can be accessed using the API function GetErrorInfo. In particular, the GetDescription method of the IErrorInfo interface may return a text description of the error.

Remarks

When logging is set, the pipeline logs the pipeline components that are called and the error values each component returns. The pipeline also logs all Dictionary and SimpleList object read and write operations.

Calling this method with an empty string turns off logging.

For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.

See Also

OrderPipeline Object

IOrderPipeline::LoadPipe

IOrderPipeline::OrderExecute


All rights reserved.