Share via


WorkflowServiceAttributes.MaxItemsInObjectGraph Proprietà

Definizione

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.

Si applica a