Property MaxOutputBytes
MaxOutputBytes
Gets or sets the largest package the writer may produce, or null for no cap.
public long? MaxOutputBytes { get; set; }
Property Value
- long?
Remarks
A workbook assembled from untrusted data — a report run against a dataset a caller does not control — can be made arbitrarily large by the data rather than by the definition, so the cap is checked against the finished package and throws ResourceLimitExceededException rather than letting the process decide how it runs out of memory.