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)

Syntax

Public ReadOnly Property StatusCode As Long
public long StatusCode { get; }

Property Value

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

Remarks

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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

BackgroundTransferRequest Class

Microsoft.Phone.BackgroundTransfer Namespace