C# Класс Microsoft.ProjectOxford.Common.ClientException

The Exception will be shown to client.
Наследование: System.Exception
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
BadRequest ( string message ) : ClientException

Create Client Exception of Bad Request.

ClientException ( ) : System

Initializes a new instance of the ClientException class.

ClientException ( ClientError 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.

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

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

Create Client Exception of Bad Request.
public static BadRequest ( string message ) : ClientException
message string The corresponding error message.
Результат ClientException

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

Initializes a new instance of the ClientException class.
public ClientException ( ) : System
Результат System

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

Initializes a new instance of the ClientException class.
public ClientException ( ClientError error, HttpStatusCode httpStatus ) : System
error ClientError The error entity.
httpStatus HttpStatusCode The http status.
Результат System

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

Initializes a new instance of the ClientException class.
public ClientException ( string message ) : System
message string The corresponding error message.
Результат System

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

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

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

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

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

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