ODataMessageReaderSettings Class
Represents the configuration settings for OData message readers.
Inheritance Hierarchy
System.Object
Microsoft.Data.OData.ODataMessageReaderSettings
Namespace: Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public NotInheritable Class ODataMessageReaderSettings
'Usage
Dim instance As ODataMessageReaderSettings
public sealed class ODataMessageReaderSettings
public ref class ODataMessageReaderSettings sealed
[<SealedAttribute>]
type ODataMessageReaderSettings = class end
public final class ODataMessageReaderSettings
The ODataMessageReaderSettings type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
ODataMessageReaderSettings() | Initializes a new instance of the ODataMessageReaderSettings class with default values. |
![]() |
ODataMessageReaderSettings(ODataMessageReaderSettings) | Initializes a new instance of the ODataMessageReaderSettings class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
BaseUri | Gets or sets the document base URI (used as base for all relative URIs). If this is set, it must be an absolute URI. |
![]() |
CheckCharacters | Gets or sets a value that indicates whether the reader checks for valid XML characters. |
![]() |
DisableMessageStreamDisposal | Gets or sets a value that indicates whether the message stream will not be disposed after finishing writing with the message. |
![]() |
DisablePrimitiveTypeConversion | Gets or sets a value that indicates whether not to convert all primitive values to the type specified in the payload. |
![]() |
EnableAtomMetadataReading | Gets or sets a value that indicates whether to enable atom metadata reading. |
![]() |
MaxProtocolVersion | Gets or sets the maximum OData protocol version the reader should accept and understand. |
![]() |
MessageQuotas | Gets or sets the quotas to use for limiting resource consumption when reading an OData message. |
![]() |
UndeclaredPropertyBehaviorKinds | Gets or sets the behavior the reader should use when it finds undeclared property. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
EnableDefaultBehavior | Enables the default behavior. |
![]() |
EnableWcfDataServicesClientBehavior | Enables the WCF data services client behavior. |
![]() |
EnableWcfDataServicesServerBehavior | Specifies whether the WCF data services server behavior is enabled. |
![]() |
Equals | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
SetAtomEntryXmlCustomizationCallback | Sets the atom entry XML customization callback. |
![]() |
ToString | (Inherited from Object.) |
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.