Skip to content

ApiException

Namespace: IntegrationTests.ApiClient

public class ApiException : System.Exception, System.Runtime.Serialization.ISerializable

Inheritance ObjectExceptionApiException

Implements ISerializable

Properties

Data

public IDictionary Data { get; }

Property Value

IDictionary

Headers

public IReadOnlyDictionary<String, IEnumerable<String>> Headers { get; private set; }

Property Value

IReadOnlyDictionary<String, IEnumerable<String>>

public string HelpLink { get; set; }

Property Value

String

HResult

public int HResult { get; set; }

Property Value

Int32

InnerException

public Exception InnerException { get; }

Property Value

Exception

Message

public string Message { get; }

Property Value

String

Response

public string Response { get; private set; }

Property Value

String

Source

public string Source { get; set; }

Property Value

String

StackTrace

public string StackTrace { get; }

Property Value

String

StatusCode

public int StatusCode { get; private set; }

Property Value

Int32

TargetSite

public MethodBase TargetSite { get; }

Property Value

MethodBase

Constructors

ApiException(String, Int32, String, IReadOnlyDictionary<String, IEnumerable<String>>, Exception)

public ApiException(string message, int statusCode, string response, IReadOnlyDictionary<String, IEnumerable<String>> headers, Exception innerException)

Parameters

message String

statusCode Int32

response String

headers IReadOnlyDictionary<String, IEnumerable<String>>

innerException Exception

Methods

ToString()

public string ToString()

Returns

String