C# Class Microsoft.ProjectOxford.Face.FaceAPIException

Represents client error with detailed error message and error code
Inheritance: System.Exception
Show file Open project: Microsoft/ProjectOxford-ClientSDK

Public Methods

Method Description
FaceAPIException ( ) : System

Initializes a new instance of the FaceAPIException class

FaceAPIException ( string errorCode, string errorMessage, HttpStatusCode statusCode ) : System

Initializes a new instance of the FaceAPIException class

Method Details

FaceAPIException() public method

Initializes a new instance of the FaceAPIException class
public FaceAPIException ( ) : System
return System

FaceAPIException() public method

Initializes a new instance of the FaceAPIException class
public FaceAPIException ( string errorCode, string errorMessage, HttpStatusCode statusCode ) : System
errorCode string Code represents the error category
errorMessage string Message represents the detailed error description
statusCode HttpStatusCode Http status code
return System