Bewerken

Share via


NetDataContractSerializer.MaxItemsInObjectGraph Property

Definition

Gets the maximum number of items allowed in the object to be serialized.

public:
 property int MaxItemsInObjectGraph { int get(); };
public int MaxItemsInObjectGraph { get; }
member this.MaxItemsInObjectGraph : int
Public ReadOnly Property MaxItemsInObjectGraph As Integer

Property Value

The maximum number of items allowed in the object. The default is Int32.MaxValue.

Remarks

For more information about setting quotas, see Security Considerations for Data.

Applies to