Receives notification of a nonrecoverable error.
Sub fatalError(oLocator As IVBSAXLocator, strError As String,_ nErrorCode As Long)
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.This notification of a nonrecoverable error corresponds to the definition of a fatal error in section 1.2 of the Worldwide Web Consortium (W3C) XML 1.0 Recommendation. For example, a parser would use this method to report the violation of a well-formedness constraint. The application must assume that the document is unusable after the parser has invoked this method. Parsing should continue only to collect additional error messages. In addition, the parser is free to stop reporting any other events once this method has been invoked.
HRESULT fatalError( [in] ISAXLocator * pLocator, [in] const wchar_t * pwchErrorMessage, [in] HRESULT hrErrorCode);
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.To view reference information for Visual Basic or C/C++ only, click the Language Filter button in the upper-left corner of the page.
errorHandler Property (Visual Basic) | putErrorHandler Method (C/C++) | ISAXLocator/IVBSAXLocator Interface
Applies to: ISAXErrorHandler/IVBSAXErrorHandler Interface