Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 | |
---|---|---|
![]() ![]() |
ContentIdHeader | Name of the HTTP content-ID header. |
![]() ![]() |
ContentTypeHeader | Name of the HTTP content type header. |
![]() ![]() |
DataServiceVersionHeader | Name of the OData 'DataServiceVersion' HTTP header. |
![]() ![]() |
MethodDelete | HTTP method name for DELETE requests. |
![]() ![]() |
MethodGet | HTTP method name for GET requests. |
![]() ![]() |
MethodMerge | Custom HTTP method name for MERGE requests. |
![]() ![]() |
MethodPatch | HTTP method name for PATCH requests. |
![]() ![]() |
MethodPost | HTTP method name for POST requests. |
![]() ![]() |
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.