Skip to main content

ServiceClientResultException

Namespace: Meshmakers.Octo.Sdk.ServiceClient

Expands the ServiceClientResultException with the HTTP status code.

public class ServiceClientResultException : Exception, ISerializable

Inheritance Object → Exception → ServiceClientResultException
Implements ISerializable

Properties​

HttpStatusCode​

Returns the status code

public HttpStatusCode HttpStatusCode { get; }

Property Value​

HttpStatusCode

TargetSite​

public MethodBase TargetSite { get; }

Property Value​

MethodBase

Message​

public string Message { get; }

Property Value​

String

Data​

public IDictionary Data { get; }

Property Value​

IDictionary

InnerException​

public Exception InnerException { get; }

Property Value​

Exception

public string HelpLink { get; set; }

Property Value​

String

Source​

public string Source { get; set; }

Property Value​

String

HResult​

public int HResult { get; set; }

Property Value​

Int32

StackTrace​

public string StackTrace { get; }

Property Value​

String

Constructors​

ServiceClientResultException(HttpStatusCode)​

Constructor

public ServiceClientResultException(HttpStatusCode httpStatusCode)

Parameters​

httpStatusCode HttpStatusCode
The HTTP status code received

ServiceClientResultException(String, HttpStatusCode, Exception)​

Constructor

public ServiceClientResultException(string message, HttpStatusCode httpStatusCode, Exception inner)

Parameters​

message String
Message of exception

httpStatusCode HttpStatusCode
The HTTP status code received

inner Exception
Optionally the inner exception

Methods​

NoDataReturned()​

internal static Exception NoDataReturned()

Returns​

Exception