Compartir a través de


WebResponseObject Class

Definition

WebResponseObject.

public ref class WebResponseObject
[Windows::Foundation::Metadata::WebHostHidden]
class WebResponseObject
public class WebResponseObject
[System.Runtime.CompilerServices.Nullable(0)]
[System.Runtime.CompilerServices.NullableContext(1)]
public class WebResponseObject
type WebResponseObject = class
[<System.Runtime.CompilerServices.Nullable(0)>]
[<System.Runtime.CompilerServices.NullableContext(1)>]
type WebResponseObject = class
Public Class WebResponseObject
Inheritance
WebResponseObject
Derived
Attributes

Constructors

WebResponseObject(HttpResponseMessage, Stream, TimeSpan, CancellationToken)

Initializes a new instance of the WebResponseObject class with the specified contentStream.

WebResponseObject(HttpResponseMessage, Stream)

Initializes a new instance of the WebResponseObject class with the specified contentStream.

WebResponseObject(HttpResponseMessage, TimeSpan, CancellationToken)

Initializes a new instance of the WebResponseObject class.

WebResponseObject(HttpResponseMessage)

Initializes a new instance of the WebResponseObject class.

WebResponseObject(WebResponse, Stream)

Constructor for WebResponseObject with contentStream

WebResponseObject(WebResponse)

Constructor for WebResponseObject

Fields

perReadTimeout

Time permitted between reads or Timeout.InfiniteTimeSpan for no timeout.

Properties

BaseResponse

Gets or sets the BaseResponse property.

Content

Gets or protected sets the response body content.

Headers

Gets the Headers property.

RawContent

Gets or protected sets the full response content.

RawContentLength

Gets the length (in bytes) of RawContentStream.

RawContentStream

Gets or protected sets the response body content as a MemoryStream.

RelationLink

Gets the RelationLink property.

StatusCode

Gets the response status code.

StatusDescription

Gets the response status description.

Methods

ToString()

Returns the string representation of this web response.

Applies to