ODataError Class

 

Provides a class representing an error payload.

Namespace:   Microsoft.OData.Core
Assembly:  Microsoft.OData.Core (in Microsoft.OData.Core.dll)

System::Object
  Microsoft.OData.Core::ODataAnnotatable
    Microsoft.OData.Core::ODataError

[DebuggerDisplayAttribute("{ErrorCode}: {Message}")]
public ref class ODataError sealed : ODataAnnotatable

NameDescription
System_CAPS_pubmethodODataError()

Initializes a new instance of the ODataError class.

NameDescription
System_CAPS_pubpropertyErrorCode

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

System_CAPS_pubpropertyInnerError

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

System_CAPS_pubpropertyInstanceAnnotations

Gets or sets the collection of custom instance annotations.

System_CAPS_pubpropertyMessage

Gets or sets the error message.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetAnnotation<T>()

Gets or sets the annotation by type.(Inherited from ODataAnnotatable.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSetAnnotation<T>(T)

Sets an annotation of type T.(Inherited from ODataAnnotatable.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: