Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
P6R::p6ICreateErrorInfo Interface Referenceabstract

#include <p6thread.h>

Inherits P6R::p6ICom.

Public Member Functions

virtual P6R::P6INT32 addref ()=0
 
virtual P6R::P6ERR initialize (P6R::P6ERR error, const P6R::IID *piid, const P6R::P6CHAR *pszFilename, P6R::P6UINT32 cLine, const P6R::P6WCHAR *pwszContext, const P6R::P6WCHAR *pwszDescription)=0
 
virtual P6R::P6ERR queryInterface (const P6R::IID &iid, P6R::P6VOID **ppIface)=0
 
virtual P6R::P6INT32 release ()=0
 

Detailed Description

This interface is used to initialize a COM exception record with information about an error condition.

Once initialized, it can be passed to p6ICurThread::setErrorInfo() to place it in the current threads COM exception list.

Errors can be retrieved by calling p6ICurThread::getErrorInfo(). Any exception records which are still in a threads COM exception list when a thread terminates will automatically be logged by the runtime with a log level of error.

Definition at line 41 of file p6thread.h.


The documentation for this interface was generated from the following file: