Property MaxNestingDepth
MaxNestingDepth
Gets or sets the maximum element nesting depth. Exceeding it throws a ResourceLimitExceededException rather than recursing: deeply nested tag soup is a classic stack-overflow vector, and an overflow is not catchable.
public int MaxNestingDepth { get; set; }
Property Value
Exceptions
- ArgumentOutOfRangeException
The value is not positive.