Skip to content

ApiException<TResult>

Namespace: IntegrationTests.ApiClient

public class ApiException<TResult> : ApiException, System.Runtime.Serialization.ISerializable

Type Parameters

TResult

Inheritance ObjectExceptionApiExceptionApiException<TResult>

Implements ISerializable

Properties

Data

public IDictionary Data { get; }

Property Value

IDictionary

Headers

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

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; }

Property Value

String

Result

public TResult Result { get; private set; }

Property Value

TResult

Source

public string Source { get; set; }

Property Value

String

StackTrace

public string StackTrace { get; }

Property Value

String

StatusCode

public int StatusCode { get; }

Property Value

Int32

TargetSite

public MethodBase TargetSite { get; }

Property Value

MethodBase

Constructors

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

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

Parameters

message String

statusCode Int32

response String

headers IReadOnlyDictionary<String, IEnumerable<String>>

result TResult

innerException Exception