C# Class CarDeliveryNetwork.Api.Data.HttpResourceFaultException

Represents errors that occur on calls to the API
Inheritance: System.Exception
Afficher le fichier Open project: cardeliverynetwork/openapi.net

Méthodes publiques

Méthode Description
Forbidden ( string messageFormat ) : HttpResourceFaultException

Helper method to throw HttpResourceFaultException Forbodden

HttpResourceFaultException ( HttpStatusCode statusCode, string message = null, Exception innerException = null ) : System

Initializes a new instance of the HttpResourceFaultException class.

Method Details

Forbidden() public static méthode

Helper method to throw HttpResourceFaultException Forbodden
public static Forbidden ( string messageFormat ) : HttpResourceFaultException
messageFormat string Message format string
Résultat HttpResourceFaultException

HttpResourceFaultException() public méthode

Initializes a new instance of the HttpResourceFaultException class.
public HttpResourceFaultException ( HttpStatusCode statusCode, string message = null, Exception innerException = null ) : System
statusCode HttpStatusCode The status code.
message string The message.
innerException System.Exception The inner exception.
Résultat System