ODataMessageReaderSettings Class
Represents the configuration settings for OData message readers.
Inheritance Hierarchy
System.Object
Microsoft.Data.OData.ODataMessageReaderSettingsBase
Microsoft.Data.OData.ODataMessageReaderSettings
Namespace: Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public NotInheritable Class ODataMessageReaderSettings _
Inherits ODataMessageReaderSettingsBase
'Usage
Dim instance As ODataMessageReaderSettings
public sealed class ODataMessageReaderSettings : ODataMessageReaderSettingsBase
public ref class ODataMessageReaderSettings sealed : public ODataMessageReaderSettingsBase
[<SealedAttribute>]
type ODataMessageReaderSettings =
class
inherit ODataMessageReaderSettingsBase
end
public final class ODataMessageReaderSettings extends ODataMessageReaderSettingsBase
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 whether the reader should check for valid Xml characters or not. (Inherited from ODataMessageReaderSettingsBase.) | |
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 whether ATOM metadata is read in ATOM payloads. (Inherited from ODataMessageReaderSettingsBase.) | |
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. (Inherited from ODataMessageReaderSettingsBase.) | |
ShouldIncludeAnnotation | Gets or sets whether an annotation should be read or skipped by the reader. (Inherited from ODataMessageReaderSettingsBase.) | |
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(Func<IEdmType, String, IEdmType>, String, String, Func<ODataEntry, XmlReader, Uri, XmlReader>) | Enables the WCF data services client behavior. | |
EnableWcfDataServicesClientBehavior(Func<IEdmType, String, IEdmType>, String, String, Func<ODataEntry, XmlReader, Uri, XmlReader>, Func<IEdmEntityType, Boolean>) | Obsolete. 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.