[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Attempts to remove the background transfer request with the specified ID.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
- Type: Microsoft.Phone.BackgroundTransfer.BackgroundTransferRequest
The transfer request to be removed.
After removing a transfer, if the TransferStatus is not already Completed, the TransferStatusChanged event will be fired and the request’s TransferError property will be set to an InvalidOperationException with the message “The request has previously been cancelled.”
This method may throw one of the following exceptions.