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

Exception for signalling failed request errors.
Inheritance: System.Exception
Afficher le fichier Open project: tonybaloney/St2Client

Méthodes publiques

Свойство Type Description
FailureMessage string
RequestUri System.Uri
ResponseMessage string
StatusCode HttpStatusCode

Méthodes publiques

Méthode 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 méthode

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

FailedRequestException() public méthode

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.
Résultat System

Property Details

FailureMessage public_oe property

public string FailureMessage
Résultat string

RequestUri public_oe property

public Uri,System RequestUri
Résultat System.Uri

ResponseMessage public_oe property

public string ResponseMessage
Résultat string

StatusCode public_oe property

public HttpStatusCode StatusCode
Résultat HttpStatusCode