Partager via


ISAXErrorHandler::error Method (Windows CE 5.0)

Send Feedback

This method receives notification of a recoverable error. It is not called in the current SAX2 (Simple API for XML) implementation.

HRESULT error(ISAXLocator* pLocator,const wchar_t* pwchErrorMessage,HRESULThrErrorCode);

Parameters

  • pLocator
    [in] Pointer to the Locator object, which contains line and column numbers of the error. SystemID and PublicID may be unavailable for particular data sources, such as character buffer.
  • pwchErrorMessage
    [in] Pointer to the error information.
  • hrErrorCode
    [in] Error code identifying the reason for the error.

Return Values

  • S_OK
    Returned when the error is handled and parsing may proceed.
  • Other
    Returned if parsing should be aborted.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.
Link Library: Uuid.lib.

See Also

putErrorHandler Method | ISAXErrorHandler:IUnknown Interface

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.