Class Error
Namespace: Microsoft.Azure.CognitiveServices.Search.CustomImageSearch.Models
Assembly: Microsoft.Azure.CognitiveServices.Search.BingCustomImageSearch.dll
Syntax
public class Error
Constructors
Error()
Declaration
public Error ();
Error(String, String, String, String, String, String)
Declaration
public Error (string code, string message, string subCode = null, string moreDetails = null, string parameter = null, string value = null);
Parameters
|
String
code
|
|
String
message
|
|
String
subCode
|
|
String
moreDetails
|
|
String
parameter
|
|
String
value
|
Properties
Code
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="code")]
public string Code { get; set; }
Property Value
|
String
|
Message
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="message")]
public string Message { get; set; }
Property Value
|
String
|
MoreDetails
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="moreDetails")]
public string MoreDetails { get; }
Property Value
|
String
|
Parameter
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="parameter")]
public string Parameter { get; }
Property Value
|
String
|
SubCode
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="subCode")]
public string SubCode { get; }
Property Value
|
String
|
Value
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="value")]
public string Value { get; }
Property Value
|
String
|
Methods
Validate()
Declaration
public virtual void Validate ();