ResponseInformation
ResponseInformation
ResponseInformation
ResponseInformation
Class
Definition
Represents data that is returned by a server response.
public : sealed class ResponseInformation : IResponseInformationpublic sealed class ResponseInformation : IResponseInformationPublic NotInheritable Class ResponseInformation Implements IResponseInformation// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
internetClientServer
privateNetworkClientServer
internetClient
|
Properties
ActualUri ActualUri ActualUri ActualUri
Gets the URI that contains the requested data.
public : Uri ActualUri { get; }public Uri ActualUri { get; }Public ReadOnly Property ActualUri As Uri// You can use this property in JavaScript.
- Value
- Uri Uri Uri Uri
The URI that contains the requested data.
Remarks
If a request sent by an operation never gets redirected, the value of this property is the same as the URI specified in the operation constructor. If a request gets redirected, this property contains the URI that returned the requested data.
Headers Headers Headers Headers
Gets all response headers sent by the server.
public : IMapView<string, string> Headers { get; }public IReadOnlyDictionary<string, string> Headers { get; }Public ReadOnly Property Headers As IReadOnlyDictionary<string, string>// You can use this property in JavaScript.
- Value
- IMapView<PlatForm::String, PlatForm::String> IReadOnlyDictionary<string, string> IReadOnlyDictionary<string, string> IReadOnlyDictionary<string, string>
Contains all response headers sent by the server.
IsResumable IsResumable IsResumable IsResumable
Gets a value that specifies whether the download is resumable.
public : PlatForm::Boolean IsResumable { get; }public bool IsResumable { get; }Public ReadOnly Property IsResumable As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
This property returns true if a download is resumable; otherwise false is returned.
StatusCode StatusCode StatusCode StatusCode
Gets the status code returned by the server.
public : unsigned int StatusCode { get; }public uint StatusCode { get; }Public ReadOnly Property StatusCode As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The status code returned by the server.