Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
3/26/2014
This method stops the parsing operation.
Syntax
HRESULT abort( );
Parameters
None.
Return Value
The following table shows the return codes for the abort method based on the state of the reader.
State |
Return code |
|---|---|
Ready |
E_FAIL. After abort executes, the reader is again ready to parse. |
Parsing |
S_OK. After abort executes, the reader is again ready to parse. |
Suspended |
S_OK. After abort executes, the reader is again ready to parse. |
Remarks
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.
Requirements
Header |
msxml2.h, |
Library |
uuid.lib |