ResponseInformation ResponseInformation ResponseInformation ResponseInformation Class

Represents data that is returned by a server response.

Syntax

Declaration

public sealed class ResponseInformationpublic sealed class ResponseInformationPublic NotInheritable Class ResponseInformationpublic sealed class ResponseInformation

Properties summary

Gets the URI that contains the requested data.

Gets all response headers sent by the server.

Gets a value that specifies whether the download is resumable.

Gets the status code returned by the server.

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 Uripublic Uri ActualUri { get; }

    Property Value

    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 IMapView<string, string> Headers { get; }Public ReadOnly Property Headers As IMapView<string, string>public IMapView<string, string> Headers { get; }

    Property Value

    • Contains all response headers sent by the server.

  • IsResumable
    IsResumable
    IsResumable
    IsResumable

    Gets a value that specifies whether the download is resumable.

    public bool IsResumable { get; }public bool IsResumable { get; }Public ReadOnly Property IsResumable As boolpublic bool IsResumable { get; }

    Property Value

    • bool
      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 uint StatusCode { get; }public uint StatusCode { get; }Public ReadOnly Property StatusCode As uintpublic uint StatusCode { get; }

    Property Value

    • uint
      uint
      uint
      uint

      The status code returned by the server.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Capabilities

internetClientServer
privateNetworkClientServer
internetClient

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute

Details

Assembly

Windows.Networking.BackgroundTransfer.dll