Share via


ValidationOptions.MaxDepth Property

Definition

Gets or sets the maximum depth for validation of nested objects. This prevents stack overflows from circular references or extremely deep object graphs. Default value is 32.

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

Property Value

Applies to