Partager via


PipelineResponse Class

Definition

Represents an HTTP response received from a cloud service.

public abstract class PipelineResponse : IDisposable
type PipelineResponse = class
    interface IDisposable
Public MustInherit Class PipelineResponse
Implements IDisposable
Inheritance
PipelineResponse
Implements

Constructors

PipelineResponse()

Properties

Content

Gets the contents of the HTTP response.

ContentStream

Gets or sets the contents of the HTTP response.

Headers

Gets the collection of HTTP response headers.

HeadersCore

Gets or sets the derived-type's value of the response's Headers collection.

IsError

Indicates whether the status code of the returned response is considered an error code.

IsErrorCore

Gets or sets the derived-type's value of IsError.

ReasonPhrase

Gets the reason phrase that accompanies the status code on the HTTP response.

Status

Gets the status code of the HTTP response.

Methods

BufferContent(CancellationToken)

Transfer the contents of the response network stream from ContentStream to a buffered cache on this PipelineResponse instance.

BufferContentAsync(CancellationToken)

Transfer the contents of the response network stream from ContentStream to a buffered cache on this PipelineResponse instance.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Applies to