async Property (Windows CE 5.0)

Send Feedback

Specifies if asynchronous download is permitted.

Note   This property is only supported on operating systems (OSs) that have Windows Internet API (WinInet) and URL Moniker Services (URLMON) included.


Script Syntax


Script Parameters


Script Return Value

Boolean. Returns True if asynchronous download is permitted; False if not. Default is True.


C/C++ Syntax

HRESULT get_async(VARIANT_BOOL* isAsync);HRESULT put_async(VARIANT_BOOLisAsync);

C/C++ Parameters

  • isAsync
    [out][in] True if asynchronous download is permitted; False if not.

C/C++ Return Values

  • S_OK
    Value returned if successful.
  • E_INVALIDARG (for get_async only)
    Value returned if isAsync is Null.


OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.

General Remarks

When set to True, the load method returns control to the caller before the download is finished. You can then use the readyState property to check the status of the download. You can also attach an onreadystatechange handler or connect to the onreadystatechange event to be notified when the ready state changes so that you know when the download is complete.

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

This property is read/write, and applies to the following interface:


See Also

onreadystatechange Event | onreadystatechange Property | readyState Property

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.