Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This method receives notification of a non-recoverable error.

Syntax

HRESULT fatalError(
  ISAXLocator* 
pLocator, 
  const wchar_t* 
pwchErrorMessage,
  HRESULT 
hrErrorCode
);

Parameters

pLocator

[in] Pointer to the Locatorobject, 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 Value

S_OK

Returned when the error is handled, but parsing stops for fatal errors.

Other

Returned if parsing should be aborted.

Requirements

Header msxml2.h, msxml2.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also