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
Message
public string Message { get; }
Property Value
Data
public IDictionary Data { get; }
Property Value
InnerException
public Exception InnerException { get; }
Property Value
HelpLink
public string HelpLink { get; set; }
Property Value
Source
public string Source { get; set; }
Property Value
HResult
public int HResult { get; set; }
Property Value
StackTrace
public string StackTrace { get; }
Property Value
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()