BackgroundDownloader.RequestUnconstrainedDownloadsAsync(IIterable<DownloadOperation>) BackgroundDownloader.RequestUnconstrainedDownloadsAsync(IIterable<DownloadOperation>) BackgroundDownloader.RequestUnconstrainedDownloadsAsync(IIterable<DownloadOperation>) BackgroundDownloader.RequestUnconstrainedDownloadsAsync(IIterable<DownloadOperation>) BackgroundDownloader.RequestUnconstrainedDownloadsAsync(IIterable<DownloadOperation>) Method

Definition

Note

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

Used to request an unconstrained download 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> RequestUnconstrainedDownloadsAsync(IIterable<DownloadOperation> operations)
static IAsyncOperation<UnconstrainedTransferRequestResult> RequestUnconstrainedDownloadsAsync(IIterable<DownloadOperation> operations) const;
public static IAsyncOperation<UnconstrainedTransferRequestResult> RequestUnconstrainedDownloadsAsync(IEnumerable<DownloadOperation> operations)
Public Shared Function RequestUnconstrainedDownloadsAsync(operations As IEnumerable(Of DownloadOperation)) As IAsyncOperation(Of UnconstrainedTransferRequestResult)
Windows.Networking.BackgroundTransfer.BackgroundDownloader.requestUnconstrainedDownloadsAsync(operations).done( /* Your success and error handlers */ );

Parameters

operations
IEnumerable<DownloadOperation> IEnumerable<DownloadOperation> IEnumerable<DownloadOperation>

The download operation to run unconstrained.

Returns