Udostępnij za pośrednictwem


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
Public method ODataMessageReaderSettings() Initializes a new instance of the ODataMessageReaderSettings class with default values.
Public method ODataMessageReaderSettings(ODataMessageReaderSettings) Initializes a new instance of the ODataMessageReaderSettings class.

Top

Properties

  Name Description
Public property 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.
Public property CheckCharacters Gets or sets a value that indicates whether the reader checks for valid XML characters.
Public property DisableMessageStreamDisposal Gets or sets a value that indicates whether the message stream will not be disposed after finishing writing with the message.
Public property DisablePrimitiveTypeConversion Gets or sets a value that indicates whether not to convert all primitive values to the type specified in the payload.
Public property EnableAtomMetadataReading Gets or sets a value that indicates whether to enable atom metadata reading.
Public property MaxProtocolVersion Gets or sets the maximum OData protocol version the reader should accept and understand.
Public property MessageQuotas Gets or sets the quotas to use for limiting resource consumption when reading an OData message.
Public property UndeclaredPropertyBehaviorKinds Gets or sets the behavior the reader should use when it finds undeclared property.

Top

Methods

  Name Description
Public method EnableDefaultBehavior Enables the default behavior.
Public method EnableWcfDataServicesClientBehavior Enables the WCF data services client behavior.
Public method EnableWcfDataServicesServerBehavior Specifies whether the WCF data services server behavior is enabled.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method SetAtomEntryXmlCustomizationCallback Sets the atom entry XML customization callback.
Public method 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.

See Also

Reference

Microsoft.Data.OData Namespace