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.
Represents the configuration settings for OData message writers.
Inheritance Hierarchy
System.Object
Microsoft.Data.OData.ODataMessageWriterSettings
Namespace: Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public NotInheritable Class ODataMessageWriterSettings
'Usage
Dim instance As ODataMessageWriterSettings
public sealed class ODataMessageWriterSettings
public ref class ODataMessageWriterSettings sealed
[<SealedAttribute>]
type ODataMessageWriterSettings = class end
public final class ODataMessageWriterSettings
The ODataMessageWriterSettings type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
ODataMessageWriterSettings() | Initializes a new instance of the ODataMessageWriterSettings class with default settings. |
![]() |
ODataMessageWriterSettings(ODataMessageWriterSettings) | Initializes a new instance of the ODataMessageWriterSettings class with specified settings. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
BaseUri | Gets or sets the document base URI which is used as base for all relative URIs. |
![]() |
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. |
![]() |
Indent | Gets or sets a value to indicate whether the writer uses indentation. |
![]() |
MessageQuotas | Gets or sets the quotas to use for limiting resource consumption when writing an OData message. |
![]() |
Version | Gets or sets the OData protocol version to be used for writing payloads. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
EnableDefaultBehavior | Enables the ODataMessageWriterSettings 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.) |
![]() |
SetAtomEntryXmlCustomization | Sets the customization XML format for Atom entry. |
![]() |
SetContentType(ODataFormat) | Sets the format to be used when writing the payload. This will automatically set a compatible content type header. |
![]() |
SetContentType(String, String) | Sets the acceptable media types and character sets from which the content type will be computed when writing the payload. |
![]() |
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.