C# 클래스 CarDeliveryNetwork.Api.Data.HttpResourceFaultException

Represents errors that occur on calls to the API
상속: System.Exception
파일 보기 프로젝트 열기: cardeliverynetwork/openapi.net

공개 메소드들

메소드 설명
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