Share via


WorkflowServiceAttributes.MaxItemsInObjectGraph Propriedade

Definição

Obtém ou define o número máximo de itens permitidos em um objeto serializado.

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

Valor da propriedade

O número máximo de itens permitidos em um objeto.

Exemplos

O exemplo a seguir demonstra como acessar a MaxItemsInObjectGraph propriedade .

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

Comentários

O valor padrão é MaxValue.

Aplica-se a