DynamicResponse Class

Definition

Represents a result of Azure operation with a JsonData response.

public class DynamicResponse : Azure.Response
type DynamicResponse = class
    inherit Response
Public Class DynamicResponse
Inherits Response
Inheritance
System.Object
DynamicResponse

Constructors

DynamicResponse(Response, JsonData)

Represents a result of Azure operation with a JsonData response.

Properties

Body

The JSON body of the response.

ClientRequestId

Gets the client request id that was sent to the server as x-ms-client-request-id headers.

Content

Gets the contents of HTTP response, if it is available.

(Inherited from Response)
ContentStream

Gets the contents of HTTP response. Returns null for responses without content.

DynamicBody

The JSON body of the response.

Headers

Get the HTTP response headers.

(Inherited from Response)
ReasonPhrase

Gets the HTTP reason phrase.

Status

Gets the HTTP status code.

Methods

ContainsHeader(String)

Returns true if the header is stored in the collection.

Dispose()

Frees resources held by the DynamicResponse object.

Dispose(Boolean)

Frees resources held by the DynamicResponse object.

EnumerateHeaders()

Returns an iterator for enumerating HttpHeader in the response.

ToString()

Returns the string representation of this Response.

(Inherited from Response)
TryGetHeader(String, String)

Returns header value if the header is stored in the collection. If header has multiple values they are going to be joined with a comma.

TryGetHeaderValues(String, IEnumerable<String>)

Returns header values if the header is stored in the collection.

Applies to