HRESULT Error(HRESULT error, LPCTSTR component, LPCTSTR message)

Call this method to log information about an error. See Table 46.

Table 46. HRESULT Error

Parameter

Description

Error

The error code returned by a call (This code will be displayed in the log entry as a number.)

Component

A string that identifies the source of the error, which is generally your page or the component that you have written

Message

The message that explains what caused the error

 

Related Topics

ILogger Interface