Delen via


BackgroundTransferRangesDownloadedEventArgs.GetDeferral Method

Definition

Deferral allows apps to carry out asynchronous work within their RangesDownloaded handler without receiving a new RangesDownloaded event in the meantime.

public:
 virtual Deferral ^ GetDeferral() = GetDeferral;
Deferral GetDeferral();
public Deferral GetDeferral();
function getDeferral()
Public Function GetDeferral () As Deferral

Returns

HRESULT

Remarks

Serialized RangesDownloaded events make the app’s code more straightforward and let WinRT BackgroundTransfer coalesce RangesDownloaded events instead of flooding an app with multiple concurrent ones.

Applies to

See also