Request

Response

    Class WebhooksApiException

    Namespace: Autodesk.Webhooks
    Assembly: Autodesk.Webhooks.dll

    An object that is returned when an API call to the Webhooks service fails.

    public class WebhooksApiException : ServiceApiException, ISerializable
    

    Inheritance

    object ← Exception ← HttpRequestException ← ServiceApiException ← WebhooksApiException

    Implements

    ISerializable

    Inherited Members

    ServiceApiException.HttpResponseMessage , 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

    WebhooksApiException(string)

    Initializes a new instance of the class with a specified error message.

    public WebhooksApiException(string message)
    

    Parameters

    message string

    The error message.

    WebhooksApiException(string, HttpResponseMessage, Exception)

    Initializes a new instance of the class with a specified error message, HTTP response message, and a reference to the inner exception that is the cause of this exception.

    public WebhooksApiException(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.