API Reference
AdfProcessingOptions
Resource limits for ADF parsing, writing, validation and projections.
Inheritance
- Object
- AdfProcessingOptions
Remarks
Limits reject the operation rather than truncating content. Cancellation is checked at ADF traversal boundaries; synchronous Markdown/HTML parsers are checked before and after their calls.
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Method AdfDocument.Parse
- Method AdfDocument.ToJson
- Method AdfDocument.Validate
Constructors
public AdfProcessingOptions() #Inherited Methods
Properties
public Int32 MaxInputBytes { get; set; } #Maximum UTF-8 input size for JSON, Markdown or HTML text. Defaults to 16 MiB.
public Int32 MaxDepth { get; set; } #Maximum content-node nesting depth, from 1 through 256. Defaults to 64. Markdown object input is checked against this depth before conversion.
public Int32 MaxNodes { get; set; } #Maximum number of nodes and marks visited, including repeated references. Defaults to 100,000. Markdown object input is also checked against this object count.
public Int32 MaxTextCharacters { get; set; } #Maximum aggregate text in nodes and JSON attribute/extension strings, in UTF-16 characters. Defaults to 16 Mi characters.
public Int32 MaxOutputBytes { get; set; } #Maximum serialized JSON size in UTF-8 bytes. Defaults to 32 MiB.
public Int32 MaxOutputCharacters { get; set; } #Maximum Markdown or HTML result length in UTF-16 characters. Defaults to 32 Mi characters.
public CancellationToken CancellationToken { get; set; } #Cancellation observed during ADF traversal and JSON writes.