NetDataContractSerializer.MaxItemsInObjectGraph Property       
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 : intPublic ReadOnly Property MaxItemsInObjectGraph As IntegerProperty 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.