JsonWriterOptions.MaxDepth Propriedade

Definição

Obtém ou define a profundidade máxima permitida ao escrever JSON, com o padrão (ou seja, 0) a indicar uma profundidade máxima de 1000.

public:
 property int MaxDepth { int get(); void set(int value); };
public int MaxDepth { get; set; }
member this.MaxDepth : int with get, set
Public Property MaxDepth As Integer

Valor de Propriedade

Exceções

A profundidade máxima está definida para um valor negativo.

Observações

Escrever para além desta profundidade vai gerar um JsonException.

Aplica-se a