JsonReaderOptions.MaxDepth Propiedad

Definición

Obtiene o establece la profundidad máxima permitida al leer JSON, con el valor predeterminado (es decir, 0) que indica una profundidad máxima de 64.

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 propiedad

Profundidad máxima permitida al leer JSON.

Excepciones

La profundidad máxima se establece en un valor negativo.

Comentarios

Leer más allá de esta profundidad producirá una JsonExceptionexcepción .

Se aplica a