Class ServiceApiException
Namespace: Autodesk.Webhooks
Assembly: Autodesk.Webhooks.dll
An object that is returned when an API call fails.
public abstract class ServiceApiException : HttpRequestException, ISerializable
Inheritance
object ← Exception ← HttpRequestException ← ServiceApiException
Derived
Implements
Inherited Members
Exception.GetBaseException() , Exception.GetObjectData(SerializationInfo, StreamingContext) , Exception.GetType() , Exception.ToString() , Exception.Data , Exception.HelpLink , Exception.HResult , Exception.InnerException , Exception.Message , Exception.Source , Exception.StackTrace , Exception.TargetSite , Exception.SerializeObjectState , object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()
Constructors
ServiceApiException(string)
Initializes a new instance of the
public ServiceApiException(string message)
Parameters
message
string
The error message.
ServiceApiException(string, HttpResponseMessage, Exception)
Initializes a new instance of the
public ServiceApiException(string message, HttpResponseMessage httpResponseMessage, Exception exception)
Parameters
message
string
The error message.
httpResponseMessage
HttpResponseMessage
The HTTP response message.
exception
Exception
The exception that is the cause of the current exception.
Properties
HttpResponseMessage
Gets or sets the HTTP response message.
public HttpResponseMessage HttpResponseMessage { get; set; }