MobileForms Toolkit Documentation

WebDavFile.Download Method (NetAsyncCallback, Object)

Downloads the file from WebDAV location represented by this object

public override NetRequest Download(
NetAsyncCallback asyncCallback,
object asyncState
);

Parameters

asyncCallback
The asynchronous callback delegate which is called after the operation completes or fails
asyncState
The asynchronous callback parameter which is set in NetAsyncResult structure when the callback is called.

Return Value

The remote file system request object which can be used to abort the request

Exceptions

Exception Type Condition
NotSupportedException The object does not represent a valid WebDavFile file object. Directory download is not supported.

See Also

WebDavFile Class | Resco.Net Namespace | WebDavFile.Download Overload List