JsonReaderOptions.MaxDepth 속성

정의

최대 깊이 64를 나타내는 기본값(즉, 0)을 사용하여, JSON을 읽을 때 허용되는 최대 깊이를 가져오거나 설정합니다.

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

속성 값

Int32

JSON을 읽을 때 허용되는 최대 깊이입니다.

예외

최대 깊이가 음수 값으로 설정됩니다.

설명

이 깊이를 초과해서 읽으면 JsonException이 throw 됩니다.

적용 대상