Share via


Error.Code Property

Definition

This code represents the HTTP status code when this Error object accessed from the ServiceException.Error object. This code represent a sub-code when the Error object is in the InnerError or ErrorDetails object.

[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="code", Required=Newtonsoft.Json.Required.Default)]
public string Code { get; set; }
[<Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="code", Required=Newtonsoft.Json.Required.Default)>]
member this.Code : string with get, set
Public Property Code As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to