BackgroundUploader.CreateUploadAsync(Uri, IIterable(BackgroundTransferContentPart)) | createUploadAsync(Uri, IIterable(BackgroundTransferContentPart)) method

Applies to Windows and Windows Phone

Returns an asynchronous operation that, on completion, returns an UploadOperation with the specified URI and one or more BackgroundTransferContentPart objects.

Syntax


backgroundUploader.createUploadAsync(uri, parts).done( /* Your success and error handlers */ );

Parameters

uri

Type: Windows.Foundation.Uri [JavaScript] | System.Uri [.NET] | Windows::Foundation::Uri [C++]

The location for the upload.

parts

Type: IIterable<BackgroundTransferContentPart> [JavaScript/C++] | System.Collections.Generic.IEnumerable<BackgroundTransferContentPart> [.NET]

One or more BackgroundTransferContentPart objects.

Return value

Type: IAsyncOperation<UploadOperation>

The resultant asynchronous UploadOperation

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

BackgroundUploader
CreateUploadAsync(Uri, IIterable(BackgroundTransferContentPart), String)
CreateUploadAsync(Uri, IIterable(BackgroundTransferContentPart), String, String)

 

 

Show:
© 2015 Microsoft