Partager via


IErrorlog (Compact 2013)

3/26/2014

This interface is an abstraction of an error log used to communicate detailed error information between a client and an object.

Methods

The following table shows the methods for this interface in alphabetical order. Like all COM interfaces, this interface inherits the methods for the IUnknown interface.

Method

Description

AddError

Logs an error (using an EXCEPINFO structure) in the error log for a named property.

Remarks

The caller of the single interface member, IErrorlog::AddError, simply logs an error where the error is an EXCEPINFO structure attached to a specific property. The object that implements the interface is responsible for handling the error.

IErrorlog is used in the protocol between a client that implements the IPropertyBag interface and an object that implements the IPersistPropertyBag interface.

Requirements

Header

oaidl.h,
oaidl.idl

Library

oleaut32.lib,
uuid.lib

See Also

Reference

COM Interfaces
EXCEPINFO
IPersistPropertyBag
IPropertyBag
IUnknown