C# Класс CarDeliveryNetwork.Api.Data.HttpResourceFaultException

Represents errors that occur on calls to the API
Наследование: System.Exception
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Forbidden() публичный статический Метод

Helper method to throw HttpResourceFaultException Forbodden
public static Forbidden ( string messageFormat ) : HttpResourceFaultException
messageFormat string Message format string
Результат HttpResourceFaultException

HttpResourceFaultException() публичный Метод

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.
Результат System