abort Method1

 

Stops the parsing operation.

Visual Basic Usage Syntax

oSAXXMLReader.abort  

C/C++ Syntax

HRESULT abort( );  

Return Values

The following table shows the return codes for the abort method based on the state of the reader.

State Return Code
Ready E_NOTIMPL
Parsing E_NOTIMPL
Suspended E_NOTIMPL

Remarks

The following table shows the behavior for the abort method based on the state of the reader.

State Behavior
Ready Returns a trappable error. After abort executes, the reader is again ready to parse.

(To be implemented in a future release.)
Parsing After abort executes, the reader is again ready to parse.

(To be implemented in a future release.)
Suspended After abort executes, the reader is again ready to parse.

(To be implemented in a future release.)

You should use abort from within a handler call. After abort executes, parsing stops, but processing of the handler method continues.

As an alternative to the abort method, you can return E_FAIL.

Versioning

MSXML 3.0, unimplemented

Applies to

IMXReaderControl Interface

See Also

resume Method1
suspend Method1