Skip to main content

Definition

Assembly: CloudNimble.EasyAF.Http.dll Namespace: CloudNimble.EasyAF.Http.OData Inheritance: System.Object

Syntax

CloudNimble.EasyAF.Http.OData.ODataV4Error

Summary

Represents an OData error payload.

Constructors

.ctor

Syntax

public ODataV4Error()

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

Code

Gets or sets the error code to be used in payloads.

Syntax

public string Code { get; set; }

Property Value

Type: string

Details

Gets or sets a collection of additional error details providing more specific information about the error. This property may contain multiple error details for scenarios with multiple validation failures.

Syntax

public System.Collections.Generic.List<CloudNimble.EasyAF.Http.OData.ODataV4ErrorDetail> Details { get; set; }

Property Value

Type: System.Collections.Generic.List<CloudNimble.EasyAF.Http.OData.ODataV4ErrorDetail>

InnerError

>Gets or sets the implementation-specific debugging information to help determine the cause of the error.

Syntax

public CloudNimble.EasyAF.Http.OData.ODataV4InnerError InnerError { get; set; }

Property Value

Type: CloudNimble.EasyAF.Http.OData.ODataV4InnerError

Message

Gets or sets the error message.

Syntax

public string Message { get; set; }

Property Value

Type: string

Target

Gets or sets the target of the particular error.

Syntax

public string Target { get; set; }

Property Value

Type: string

Remarks

For example, the name of the property in error.

Methods

Equals Inherited Virtual

Inherited from object

Syntax

public virtual bool Equals(object obj)

Parameters

NameTypeDescription
objobject?-

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

public static bool Equals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

public virtual int GetHashCode()

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

public System.Type GetType()

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

protected internal object MemberwiseClone()

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

public static bool ReferenceEquals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

public virtual string ToString()

Returns

Type: string?