C# Class Microsoft.ProjectOxford.Text.SpellCheck.ClientException

The Exception will be shown to client.
Inheritance: System.Exception
Afficher le fichier Open project: evgri243/pubic-demos

Méthodes publiques

Méthode Description
BadRequest ( string message ) : ClientException

Create Client Exception of Bad Request.

ClientException ( ) : System

Initializes a new instance of the ClientException class.

ClientException ( ErrorResponse error, HttpStatusCode httpStatus ) : System

Initializes a new instance of the ClientException class.

ClientException ( string message ) : System

Initializes a new instance of the ClientException class.

ClientException ( string message, Exception innerException ) : System

Initializes a new instance of the ClientException class.

ClientException ( string message, HttpStatusCode httpStatus ) : System

Initializes a new instance of the ClientException class.

ClientException ( string message, string errorCode, HttpStatusCode httpStatus, Exception innerException ) : System

Initializes a new instance of the ClientException class.

Method Details

BadRequest() public static méthode

Create Client Exception of Bad Request.
public static BadRequest ( string message ) : ClientException
message string The corresponding error message.
Résultat ClientException

ClientException() public méthode

Initializes a new instance of the ClientException class.
public ClientException ( ) : System
Résultat System

ClientException() public méthode

Initializes a new instance of the ClientException class.
public ClientException ( ErrorResponse error, HttpStatusCode httpStatus ) : System
error ErrorResponse The error entity.
httpStatus HttpStatusCode The http status.
Résultat System

ClientException() public méthode

Initializes a new instance of the ClientException class.
public ClientException ( string message ) : System
message string The corresponding error message.
Résultat System

ClientException() public méthode

Initializes a new instance of the ClientException class.
public ClientException ( string message, Exception innerException ) : System
message string The corresponding error message.
innerException System.Exception The inner exception.
Résultat System

ClientException() public méthode

Initializes a new instance of the ClientException class.
public ClientException ( string message, HttpStatusCode httpStatus ) : System
message string The corresponding error message.
httpStatus HttpStatusCode The Http Status code.
Résultat System

ClientException() public méthode

Initializes a new instance of the ClientException class.
public ClientException ( string message, string errorCode, HttpStatusCode httpStatus, Exception innerException ) : System
message string The corresponding error message.
errorCode string The error code.
httpStatus HttpStatusCode The http status.
innerException System.Exception The inner exception.
Résultat System