UploadOperation.GetResponseInformation | getResponseInformation method

Applies to Windows and Windows Phone

Gets the response information.

Syntax


var responseInformation = uploadOperation.getResponseInformation();

Parameters

This method has no parameters.

Return value

Type: ResponseInformation

Contains the data returned by a server response.

Remarks

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 upload 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 upload to pause, application called Pause(), etc.), Background Transfer will invoke a new request and try to restart the upload. 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

UploadOperation

 

 

Show:
© 2014 Microsoft