JsonMediaTypeFormatter.MaxDepth Property

 

Gets or sets the maximum depth allowed by this formatter.

Namespace:   System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Syntax

public override sealed int MaxDepth { get; set; }
public:
property int MaxDepth {
    virtual int get() override sealed;
    virtual void set(int value) override sealed;
}
override MaxDepth : int with get, set
Public Overrides NotOverridable Property MaxDepth As Integer

Property Value

Type: System.Int32

The maximum depth allowed by this formatter.

See Also

JsonMediaTypeFormatter Class
System.Net.Http.Formatting Namespace

Return to top