Jaa


BackgroundUploader.CreateUploadAsync Method

Definition

Overloads

CreateUploadAsync(Uri, IIterable<BackgroundTransferContentPart>)

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

CreateUploadAsync(Uri, IIterable<BackgroundTransferContentPart>, String)

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

CreateUploadAsync(Uri, IIterable<BackgroundTransferContentPart>, String, String)

Returns an asynchronous operation that, on completion, returns an UploadOperation with the specified URI, multipart subtype, one or more BackgroundTransferContentPart objects, and the delimiter boundary value used to separate each part.

CreateUploadAsync(Uri, IIterable<BackgroundTransferContentPart>)

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

public:
 virtual IAsyncOperation<UploadOperation ^> ^ CreateUploadAsync(Uri ^ uri, IIterable<BackgroundTransferContentPart ^> ^ parts) = CreateUploadAsync;
/// [Windows.Foundation.Metadata.Overload("CreateUploadWithFormDataAndAutoBoundaryAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<UploadOperation> CreateUploadAsync(Uri const& uri, IIterable<BackgroundTransferContentPart> const& parts);
[Windows.Foundation.Metadata.Overload("CreateUploadWithFormDataAndAutoBoundaryAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<UploadOperation> CreateUploadAsync(System.Uri uri, IEnumerable<BackgroundTransferContentPart> parts);
function createUploadAsync(uri, parts)
Public Function CreateUploadAsync (uri As Uri, parts As IEnumerable(Of BackgroundTransferContentPart)) As IAsyncOperation(Of UploadOperation)

Parameters

uri
Uri Uri

The location for the upload.

Returns

The resultant asynchronous UploadOperation

Attributes

See also

Applies to

CreateUploadAsync(Uri, IIterable<BackgroundTransferContentPart>, String)

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

public:
 virtual IAsyncOperation<UploadOperation ^> ^ CreateUploadAsync(Uri ^ uri, IIterable<BackgroundTransferContentPart ^> ^ parts, Platform::String ^ subType) = CreateUploadAsync;
/// [Windows.Foundation.Metadata.Overload("CreateUploadWithSubTypeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<UploadOperation> CreateUploadAsync(Uri const& uri, IIterable<BackgroundTransferContentPart> const& parts, winrt::hstring const& subType);
[Windows.Foundation.Metadata.Overload("CreateUploadWithSubTypeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<UploadOperation> CreateUploadAsync(System.Uri uri, IEnumerable<BackgroundTransferContentPart> parts, string subType);
function createUploadAsync(uri, parts, subType)
Public Function CreateUploadAsync (uri As Uri, parts As IEnumerable(Of BackgroundTransferContentPart), subType As String) As IAsyncOperation(Of UploadOperation)

Parameters

uri
Uri Uri

The location for the upload.

subType
String

Platform::String

winrt::hstring

The multipart subtype. For example, "related" for content of type "multipart/related ".

Returns

The resultant asynchronous UploadOperation.

Attributes

See also

Applies to

CreateUploadAsync(Uri, IIterable<BackgroundTransferContentPart>, String, String)

Returns an asynchronous operation that, on completion, returns an UploadOperation with the specified URI, multipart subtype, one or more BackgroundTransferContentPart objects, and the delimiter boundary value used to separate each part.

public:
 virtual IAsyncOperation<UploadOperation ^> ^ CreateUploadAsync(Uri ^ uri, IIterable<BackgroundTransferContentPart ^> ^ parts, Platform::String ^ subType, Platform::String ^ boundary) = CreateUploadAsync;
/// [Windows.Foundation.Metadata.Overload("CreateUploadWithSubTypeAndBoundaryAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<UploadOperation> CreateUploadAsync(Uri const& uri, IIterable<BackgroundTransferContentPart> const& parts, winrt::hstring const& subType, winrt::hstring const& boundary);
[Windows.Foundation.Metadata.Overload("CreateUploadWithSubTypeAndBoundaryAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<UploadOperation> CreateUploadAsync(System.Uri uri, IEnumerable<BackgroundTransferContentPart> parts, string subType, string boundary);
function createUploadAsync(uri, parts, subType, boundary)
Public Function CreateUploadAsync (uri As Uri, parts As IEnumerable(Of BackgroundTransferContentPart), subType As String, boundary As String) As IAsyncOperation(Of UploadOperation)

Parameters

uri
Uri Uri

The location for the upload.

subType
String

Platform::String

winrt::hstring

The multipart subtype. For example, "related" for content of type "multipart/related ".

boundary
String

Platform::String

winrt::hstring

A string that is used to identify the delimiter used to indicate separation between provided content parts.

Returns

The resultant asynchronous UploadOperation

Attributes

See also

Applies to