Show / Hide Table of Contents

Class DynamicRestClientResponseException

Exception thrown when response status does not indicate success (IsSuccessStatusCode) Allows response content and headers to be inspected on failure

Inheritance
Object
Exception
HttpRequestException
DynamicRestClientResponseException
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: DynamicRestProxy.PortableHttpClient
Assembly: DynamicRestProxy.NetStandard.dll
Syntax
public class DynamicRestClientResponseException : HttpRequestException

Constructors

| Improve this Doc View Source

DynamicRestClientResponseException(HttpResponseMessage)

ctor

Declaration
public DynamicRestClientResponseException(HttpResponseMessage response)
Parameters
Type Name Description
HttpResponseMessage response

The response

| Improve this Doc View Source

DynamicRestClientResponseException(HttpResponseMessage, Exception)

ctore

Declaration
public DynamicRestClientResponseException(HttpResponseMessage response, Exception inner)
Parameters
Type Name Description
HttpResponseMessage response

The response

Exception inner

An inner exception

Properties

| Improve this Doc View Source

Response

The response

Declaration
public HttpResponseMessage Response { get; }
Property Value
Type Description
HttpResponseMessage
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX