The IErrorLog InterfaceThe IErrorLog Interface*
*



Contents  *



Index  *Topic Contents
*Previous Topic: PROPBAG2_TYPE
*Next Topic: IErrorLog::AddError

IErrorLog

The IErrorLog interface is an abstraction for an "error log" that is used to communicate detailed error information between a client and an object. The caller of the single interface member, AddError, simply "logs" an error where the error is an EXCEPINFO structure attached to a specific property. The implementor of the interface is responsible for handling the error in whatever way it desires.

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

IDL:

[
uuid(3127CA40-446E-11CE-8135-00AA004BB851)
    , object, pointer_default(unique)
]
interface IErrorLog : IUnknown
    {
    HRESULT AddError([in] LPCOLESTR pszPropName, [in] LPEXCEPINFO pExcepInfo);
    };

arrowg.gifIErrorLog::AddError


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.