IBackgroundTransferOperation.GetResponseInformation method

Applies to Windows and Windows Phone

Gets the response infomation.

Syntax


ResponseInformation GetResponseInformation()

Parameters

This method has no parameters.

Return value

Type: ResponseInformation

Contains the data returned by a server response.

This method returns an object that contains information about the current server response. When calling this method multiple times, the object returned will be the same as long as there is no new server response information available. Sometimes however, one download consists of multiple requests to a server. If a request gets aborted due to some non-fatal error (e.g. machine lost internet connectivity, cost policy required download to pause, application called Pause(), etc.), Download API will invoke a new request and try to resume/restart the download. The response information from the server for this second request may be different than the one returned by the first request.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Networking.BackgroundTransfer
Windows::Networking::BackgroundTransfer [C++]

Metadata

Windows.winmd

See also

IBackgroundTransferOperation

 

 

Show:
© 2014 Microsoft