C# 클래스 Microsoft.ProjectOxford.Common.ClientException

The Exception will be shown to client.
상속: System.Exception
파일 보기 프로젝트 열기: Microsoft/ProjectOxford-ClientSDK 1 사용 예제들

공개 메소드들

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