BackgroundTransferService.Requests Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets an enumeration of all active transfer requests associated with the calling application.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Property Value
Type: System.Collections.Generic.IEnumerable<BackgroundTransferRequest>An enumeration of all active transfer requests associated with the calling application.
When you access this property, new instances of BackgroundTransferRequest are created. To help prevent memory leaks, we recommend that you avoid accessing this property frequently, such as in a game loop, to query the number of requests. We also recommend that you dispose of the returned objects quickly, as soon as you are no longer using them.