Request

Response

    Class ServiceApiException

    Namespace: Autodesk.Authentication
    Assembly: Autodesk.Authentication.dll

    An object that is returned when an API call fails.

    public abstract class ServiceApiException : HttpRequestException, ISerializable
    

    Inheritance

    object Exception HttpRequestException ServiceApiException

    Derived

    AuthenticationApiException

    Implements

    ISerializable

    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)

    public ServiceApiException(string message)
    

    Parameters

    message string

    ServiceApiException(string, HttpResponseMessage, Exception)

    public ServiceApiException(string message, HttpResponseMessage httpResponseMessage, Exception exception)
    

    Parameters

    message string

    httpResponseMessage HttpResponseMessage

    exception Exception

    Properties

    HttpResponseMessage

    public HttpResponseMessage HttpResponseMessage { get; set; }
    

    Property Value

    HttpResponseMessage