BackgroundTransferRequest Properties

BackgroundTransferRequest Properties

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The BackgroundTransferRequest type exposes the following members.

  NameDescription
Public property BytesReceived Gets the number of bytes that have been downloaded for the request.
Public property BytesSent Gets the number of bytes that have been uploaded for the request.
Public property DownloadLocation Gets or sets the location to which the requested file will be downloaded.
Public property Headers Gets the dictionary of HTTP headers for the request.
Public property Method Gets or sets the HTTP method for the request.
Public property RequestId Gets the unique identifier associated with the request.
Public property RequestUri Gets the target URI associated with the request.
Public property StatusCode The HTTP status code of the request
Public property Tag Gets or sets additional data associated with the request.
Public property TotalBytesToReceive Gets the total number of bytes that will be downloaded for the request.
Public property TotalBytesToSend Gets the total number of bytes that will be uploaded for the request.
Public property TransferError Gets the exception associated with a failed background transfer request. A transfer request can have a TransferStatus of Completed whether or not the transfer was completed successfully. If a completed transfer was successful, TransferError will be null.
Public property TransferPreferences Gets or sets the preferred conditions under which transfers are enabled.
Public property TransferStatus Gets the status of the request.
Public property UploadLocation Gets or sets the location from which the requested file will be uploaded.
Top

Show:
© 2017 Microsoft