Share via


ODataMessageQuotas Class

Quotas to use for limiting resource consumption when reading or writing OData messages.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataMessageQuotas

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public NotInheritable Class ODataMessageQuotas
'Usage
Dim instance As ODataMessageQuotas
public sealed class ODataMessageQuotas
public ref class ODataMessageQuotas sealed
[<SealedAttribute>]
type ODataMessageQuotas =  class end
public final class ODataMessageQuotas

The ODataMessageQuotas type exposes the following members.

Constructors

  Name Description
Public method ODataMessageQuotas() Initializes a new instance of the ODataMessageQuotas class.
Public method ODataMessageQuotas(ODataMessageQuotas) Initializes a new instance of the ODataMessageQuotas class.

Top

Properties

  Name Description
Public property MaxEntityPropertyMappingsPerType Gets or sets the maximum number of entity mapping attributes to be found for an entity type (on the type itself and all its base types).
Public property MaxNestingDepth Gets or sets the maximum depth of nesting allowed when reading or writing recursive payloads.
Public property MaxOperationsPerChangeset Gets or sets the maximum number of operations allowed in a single changeset.
Public property MaxPartsPerBatch Gets or sets the maximum number of top level query operations and changesets allowed in a single batch.
Public property MaxReceivedMessageSize Gets or sets the maximum number of bytes that should be read from the message.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
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