C# Class SolarCalculator.Models.Esri.ErrorModel

The concrete class for json serialization of error responses
ファイルを表示 Open project: steveoh/SolarCalculator Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
ErrorModel ( int code ) : Newtonsoft.Json

Initializes a new instance of the ErrorModel class.

ErrorModel ( int code, string message ) : Newtonsoft.Json

Initializes a new instance of the ErrorModel class.

Method Details

ErrorModel() public method

Initializes a new instance of the ErrorModel class.
public ErrorModel ( int code ) : Newtonsoft.Json
code int The http status code.
return Newtonsoft.Json

ErrorModel() public method

Initializes a new instance of the ErrorModel class.
public ErrorModel ( int code, string message ) : Newtonsoft.Json
code int The http status code.
message string The error message.
return Newtonsoft.Json