Cancels the downloader request and resets properties to their initial state.
| XAML | Cannot use methods in XAML. |
| Scripting | downloaderObject.Abort()
|
Examples
The following JavaScript example shows how to invoke the Abort method:
| JavaScript |
// Cancel download on mouse click.
function onLeftMouseButtonUp(sender, eventArgs)
{
// Cancel Downloader activity and restore state.
downloader.abort();
}
|
Applies To
Downloader
See Also
Using the Downloader Object
Open
Send