WorkflowServiceAttributes.MaxItemsInObjectGraph Propriété

Définition

Obtient ou définit le nombre maximal d'éléments autorisés dans un objet sérialisé.

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

Valeur de propriété

Nombre maximal d'éléments autorisés dans un objet.

Exemples

L'exemple suivant montre comment accéder à la propriété MaxItemsInObjectGraph.

WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();
attributes.MaxItemsInObjectGraph = 10;
Dim attributes As New WorkflowServiceAttributes()
attributes.MaxItemsInObjectGraph = 10

Remarques

La valeur par défaut est MaxValue.

S’applique à