Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Key
M11
M12
M21
M22
Tag
Uri
X1
X2
Y1
Y2
Expand Minimize

Status

Silverlight

Gets the current HTTP status of the Downloader object request.

value = downloaderObject.Status

Type: integer

Gets the HTTP status code value that represents the current state of the Downloader object request.

This property is read-only. The default value is 0.

None. Downloader does not exist in the managed API. Generally you can use WebClient for downloads, which provides equivalent functionality.

The HTTP status code reflects the current state of the Downloader request, as specified by the verb parameter in the Open method. The corresponding text value is provided by the StatusText property. For example, if the value of the verb parameter is "GET" and the resulting download was successful, the value of Status is 200 and the value of StatusText is "OK".

The following table lists the HTTP and text status codes that the Downloader reports. For more information, see HTTP Status Codes in the MSDN Library.

Status code

Status text

Description

200

OK

The request completed successfully.

204

No content

The server has not found any content that matches the request Uniform Resource Identifier (URI).

Because a Downloader object downloads content asynchronously, the events that indicate completion or failure (Completed and DownloadFailed) are more relevant for most Downloader scenarios than is the value of the HTTP status code.

Community Additions

ADD
Show:
© 2015 Microsoft