Language

CborReaderOptions.MaxDepth Property

Definition

Gets or sets the maximum depth allowed when reading CBOR data, with the default (-1) indicating the maximum depth should be chosen by the runtime.

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

The maximum depth allowed when reading CBOR data.

Exceptions

value is less than -1.

Applies to