次の方法で共有


Error Class

Definition

The error object contained in 400 and 500 responses returned from the service. Models OData protocol, 9.4 Error Response Body http://docs.oasis-open.org/odata/odata/v4.01/csprd05/part1-protocol/odata-v4.01-csprd05-part1-protocol.html#_Toc14172757

[Newtonsoft.Json.JsonObject(MemberSerialization=Newtonsoft.Json.MemberSerialization.OptIn)]
public class Error
[<Newtonsoft.Json.JsonObject(MemberSerialization=Newtonsoft.Json.MemberSerialization.OptIn)>]
type Error = class
Public Class Error
Inheritance
Error
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

Error()

Properties

AdditionalData

The AdditionalData property bag.

ClientRequestId

Gets or set the client-request-id header returned in the response headers collection.

Code

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.

Details

An array of details that describe the error[s] encountered with the request.

InnerError

The inner error of the response. These are additional error objects that may be more specific than the top level error.

Message

The error message.

Target

Indicates the target of the error, for example, the name of the property in error.

ThrowSite

The Throw site of the error.

Methods

ToString()

Concatenates the error into a string.

Applies to