ondataavailable Event (Windows Embedded CE 6.0)

1/6/2010

This event fires when new data is available.

Usage Syntax Platforms

Inline HTML

<ELEMENT ondataavailable = "handler" ... >

All platforms

Event property

object.ondataavailable = handler

Microsoft® JScript® (compatible with ECMA 262 language specification) only

Named script

<SCRIPT FOR = object EVENT = ondataavailable>

Microsoft Internet Explorer only

Script Syntax

oXMLDOMDocument.ondataavailable;

Remarks

Ee502355.collapse(en-US,WinEmbedded.60).gifScript Parameters

None.

Ee502355.collapse(en-US,WinEmbedded.60).gifScript Return Value

None.

Ee502355.collapse(en-US,WinEmbedded.60).gifC/C++ Syntax

HRESULT ondataavailable( void );

Remarks

Ee502355.collapse(en-US,WinEmbedded.60).gifC/C++ Parameters

None.

Ee502355.collapse(en-US,WinEmbedded.60).gifC/C++ Return Values

S_OK is the value returned if the event is successful.

Ee502355.collapse(en-US,WinEmbedded.60).gifGeneral Remarks

When handling asynchronous data, it is useful to be able to start processing in parallel with the download as soon as data becomes available. The readyState Property (DOMDocument) defines several states that specify the current status of the asynchronous download.

The event handler for this event can be explicitly set using the ondataavailable property.

This member is an extension of the Worldwide Web Consortium (W3C) Document Object Model (DOM).

Ee502355.collapse(en-US,WinEmbedded.60).gifRequirements

Header msxml2.h, msxml2.idl
Windows Embedded CE Windows CE .NET 4.0 and later

General Remarks

This event applies to the following interface:

DOMDocument.

See Also

Reference

XML DOM Events

Concepts

ondataavailable Property

Other Resources

READYSTATE