Επεξεργασία

Κοινή χρήση μέσω


WorkflowServiceAttributes.MaxItemsInObjectGraph Property

Definition

Gets or sets the maximum number of items allowed in a serialized object.

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

Property Value

The maximum number of items allowed in an object.

Examples

The following example demonstrates how to access the MaxItemsInObjectGraph property.

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

Remarks

The default value is MaxValue.

Applies to