BackgroundTransferContentPart.BackgroundTransferContentPart(String, String) constructor

Applies to Windows and Windows Phone

Creates a BackgroundTransferContentPart object that identifies the file content and the name of the file that it represents.

Syntax


var backgroundTransferContentPart = new Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart(name, fileName);

Parameters

name

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

Identifies the content.

fileName

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The fully qualified file name, including the local path.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Networking.BackgroundTransfer
Windows::Networking::BackgroundTransfer [C++]

Metadata

Windows.winmd

See also

CreateDownload(Uri, IStorageFile, IStorageFile)
CreateUploadAsync
BackgroundTransferContentPart
BackgroundTransferContentPart(String)
BackgroundTransferContentPart

 

 

Show:
© 2014 Microsoft