C# Class TonyBaloney.St2.Client.Exceptions.FailedRequestException

Exception for signalling failed request errors.
Inheritance: System.Exception
Exibir arquivo Open project: tonybaloney/St2Client

Public Properties

Property Type Description
FailureMessage string
RequestUri System.Uri
ResponseMessage string
StatusCode HttpStatusCode

Public Methods

Method Description
FailedRequestException ( string message ) : System

Initializes a new instance of the TonyBaloney.St2.Client.Exceptions.FailedRequestException class.

FailedRequestException ( string failureMessage, Uri requestUri, HttpStatusCode statusCode, string responseMessage ) : System

Initializes a new instance of the FailedRequestException class.

Method Details

FailedRequestException() public method

Initializes a new instance of the TonyBaloney.St2.Client.Exceptions.FailedRequestException class.
public FailedRequestException ( string message ) : System
message string The message.
return System

FailedRequestException() public method

Initializes a new instance of the FailedRequestException class.
public FailedRequestException ( string failureMessage, Uri requestUri, HttpStatusCode statusCode, string responseMessage ) : System
failureMessage string Message describing the failure.
requestUri System.Uri URI of the request.
statusCode HttpStatusCode The status code.
responseMessage string Message describing the response.
return System

Property Details

FailureMessage public_oe property

public string FailureMessage
return string

RequestUri public_oe property

public Uri,System RequestUri
return System.Uri

ResponseMessage public_oe property

public string ResponseMessage
return string

StatusCode public_oe property

public HttpStatusCode StatusCode
return HttpStatusCode