ODataConstants Class

Constant values used by the OData or HTTP protocol or OData library.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataConstants

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

Syntax

'Declaration
Public NotInheritable Class ODataConstants
'Usage
public static class ODataConstants
public ref class ODataConstants abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type ODataConstants =  class end
public final class ODataConstants

The ODataConstants type exposes the following members.

Fields

  Name Description
Public fieldStatic member ContentIdHeader Name of the HTTP content-ID header.
Public fieldStatic member ContentTypeHeader Name of the HTTP content type header.
Public fieldStatic member DataServiceVersionHeader Name of the OData 'DataServiceVersion' HTTP header.
Public fieldStatic member MethodDelete HTTP method name for DELETE requests.
Public fieldStatic member MethodGet HTTP method name for GET requests.
Public fieldStatic member MethodMerge Custom HTTP method name for MERGE requests.
Public fieldStatic member MethodPatch HTTP method name for PATCH requests.
Public fieldStatic member MethodPost HTTP method name for POST requests.
Public fieldStatic member MethodPut HTTP method name for PUT requests.

Top

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

Reference

Microsoft.Data.OData Namespace