Share via


abort Method (Windows Embedded CE 6.0)

1/6/2010

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, msxml2.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IMXReaderControl