編輯

共用方式為


IErrorLog.AddError(String, EXCEPINFO) Method

Definition

Used to add errors in an implementation of the IErrorLog interface used in a custom data importer.

public:
 void AddError(System::String ^ pszPropName, stdole::EXCEPINFO % pExcepInfo);
public void AddError (string pszPropName, ref stdole.EXCEPINFO pExcepInfo);
abstract member AddError : string *  -> unit
Public Sub AddError (pszPropName As String, ByRef pExcepInfo As EXCEPINFO)

Parameters

pszPropName
String

The name of the property that raised the error.

pExcepInfo
EXCEPINFO

A pointer to the exception that was raised when the error occurred.

Remarks

A custom data importer is created by implementing the IInfoPathDataImporter interface. For more information about programmatically importing data into an InfoPath form, see the InfoPath Developer PortalMicrosoft Office Developer Center.

Applies to