abort Method (Windows CE 5.0)

Send Feedback

This method stops the parsing operation.

HRESULT abort( );

Parameters

None.

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_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

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

See Also

IMXReaderControl:IDispatch

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.