Partager via


IErrorlog

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

COM Interfaces
EXCEPINFO
IPersistPropertyBag:IPersist
IPropertyBag
IUnknown