WorkflowServiceAttributes.MaxItemsInObjectGraph Proprietà
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Ottiene o imposta il numero massimo di elementi consentiti in un oggetto serializzato.
public:
property int MaxItemsInObjectGraph { int get(); void set(int value); };
public int MaxItemsInObjectGraph { get; set; }
member this.MaxItemsInObjectGraph : int with get, set
Public Property MaxItemsInObjectGraph As Integer
Valore della proprietà
Numero massimo di elementi consentiti in un oggetto.
Esempio
Nell'esempio seguente viene illustrato come accedere alla proprietà MaxItemsInObjectGraph.
WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();
attributes.MaxItemsInObjectGraph = 10;
Dim attributes As New WorkflowServiceAttributes()
attributes.MaxItemsInObjectGraph = 10
Commenti
Il valore predefinito è MaxValue.