Show / Hide Table of Contents

Method BeginDownloadAsync

| Edit this page View Source

BeginDownloadAsync(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

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX