Method BeginDownloadAsync
| Edit this page View SourceBeginDownloadAsync(PortalItem, string)
Downloads the data content from a Portal Item.
Declaration
public static Task<FileDownloadTask> BeginDownloadAsync(this PortalItem portalItem, string destinationPath)
Parameters
Type | Name | Description |
---|---|---|
PortalItem | portalItem | Portal Item who's data should be downloaded |
string | destinationPath | File path to save the download to. |
Returns
Type | Description |
---|---|
Task<FileDownloadTask> | The download task. |
Exceptions
Type | Condition |
---|---|
IOException | The destination file already exists |