 | WebDownloadFileAsync Method |
Starts an asyncronous download operation
Namespace:
Cauldron.Net
Assembly:
Cauldron (in Cauldron.dll) Version: 3.2.0.2
SyntaxPublic Shared Function DownloadFileAsync (
uri As Uri,
resultFile As FileInfo
) As Task
Parameters
- uri
- Type: SystemUri
The uri of the file - resultFile
- Type: System.IOFileInfo
The file that the response will be written to.
Return Value
Type:
Task[Missing <returns> documentation for "M:Cauldron.Net.Web.DownloadFileAsync(System.Uri,System.IO.FileInfo)"]
ExceptionsException | Condition |
---|
WebException | Response status code does not indicate success |
See Also