Share via


ODataConstants Class

 

Represents the constant values used by the OData or HTTP protocol or OData library.

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

Inheritance Hierarchy

System.Object
  Microsoft.OData.Core.ODataConstants

Syntax

public static class ODataConstants
public ref class ODataConstants abstract sealed 
[<AbstractClass>]
[<Sealed>]
type ODataConstants = class end
Public NotInheritable Class ODataConstants

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static ContentIdHeader

Name of the HTTP content-ID header.

System_CAPS_pubfieldSystem_CAPS_static ContentTypeHeader

Name of the HTTP content type header.

System_CAPS_pubfieldSystem_CAPS_static MethodDelete

HTTP method name for DELETE requests.

System_CAPS_pubfieldSystem_CAPS_static MethodGet

HTTP method name for GET requests.

System_CAPS_pubfieldSystem_CAPS_static MethodPatch

HTTP method name for PATCH requests.

System_CAPS_pubfieldSystem_CAPS_static MethodPost

HTTP method name for POST requests.

System_CAPS_pubfieldSystem_CAPS_static MethodPut

HTTP method name for PUT requests.

System_CAPS_pubfieldSystem_CAPS_static ODataVersionHeader

Name of the OData version header.

Thread Safety

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

See Also

Microsoft.OData.Core Namespace

Return to top