NetDataContractSerializer.MaxItemsInObjectGraph 屬性

定義

取得物件中被序列化的最大允許項目數量。

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

屬性值

物品中允許的最大物品數量。 預設為 Int32.MaxValue

備註

欲了解更多設定配額的資訊,請參閱 資料安全考量

適用於