BackgroundUploader.RequestUnconstrainedUploadsAsync(IIterable<UploadOperation>) BackgroundUploader.RequestUnconstrainedUploadsAsync(IIterable<UploadOperation>) BackgroundUploader.RequestUnconstrainedUploadsAsync(IIterable<UploadOperation>) BackgroundUploader.RequestUnconstrainedUploadsAsync(IIterable<UploadOperation>) BackgroundUploader.RequestUnconstrainedUploadsAsync(IIterable<UploadOperation>) Method

Definition

Note

RequestUnconstrainedUploadsAsync may be altered or unavailable for releases after Windows 10, version 1607. Instead, use CreateUploadAsync.

Used to request an unconstrained upload operation. When this method is called the user is provided with a UI prompt that they can use to indicate their consent for an unconstrained operation.An unconstrained transfer operation will run without the resource restrictions normally associated with background network operations while a device is running on battery.

public : static IAsyncOperation<UnconstrainedTransferRequestResult> RequestUnconstrainedUploadsAsync(IIterable<UploadOperation> operations)
static IAsyncOperation<UnconstrainedTransferRequestResult> RequestUnconstrainedUploadsAsync(IIterable<UploadOperation> operations) const;
public static IAsyncOperation<UnconstrainedTransferRequestResult> RequestUnconstrainedUploadsAsync(IEnumerable<UploadOperation> operations)
Public Shared Function RequestUnconstrainedUploadsAsync(operations As IEnumerable(Of UploadOperation)) As IAsyncOperation(Of UnconstrainedTransferRequestResult)
Windows.Networking.BackgroundTransfer.BackgroundUploader.requestUnconstrainedUploadsAsync(operations).done( /* Your success and error handlers */ );

Parameters

operations
IEnumerable<UploadOperation> IEnumerable<UploadOperation> IEnumerable<UploadOperation>

The upload operation to run unconstrained.

Returns