StatusCode Property

BackgroundTransferRequest.StatusCode Property

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

The HTTP status code of the request

Namespace:  Microsoft.Phone.BackgroundTransfer
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public long StatusCode { get; }

Property Value

Type: System.Int64
The HTTP status code of the request

This property contains the HTTP status code returned from the server with which the request was initiated. The status code indicating success is 200 or 206, depending on the server configuration. Note that this code indicates whether the server could successfully complete the request. It does not indicate that the transfer was successful. A successful transfer will have a TransferStatus of Completed and TransferError will be null.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

© 2017 Microsoft